openapi.yaml.
Base URL
/v1/ unless otherwise noted.
Authentication
All API requests (except/health and public auth endpoints) require a Bearer token:
- Personal Access Token (Recommended)
- JWT Token
Request Format
- Content-Type:
application/jsonfor all JSON request bodies - File uploads:
multipart/form-data - Character encoding: UTF-8
Response Format
All responses return JSON with consistent structure:Status Codes
Streaming
Chat and completion endpoints support Server-Sent Events (SSE) streaming by setting"stream": true:
data: lines:
Rate Limiting
When you exceed rate limits, the API returns429 Too Many Requests. Implement exponential backoff in your client:
Endpoint Categories
The API is organized into these categories — browse them in the sidebar:Authentication
Login, SSO, token refresh, registration, password management.
Chat & Completions
OpenAI-compatible chat, text completion, and streaming.
Knowledge Bases
Create KBs, upload files, query for context, RAG chat.
Echo Engine
Audio transcription (STT), text-to-speech (TTS), recordings.
Researcher
Web search, content scraping, deep research, report synthesis.
Document Analyzer
Upload documents, extract data, human-in-the-loop review.
Admin
Tenant management, directory sync, sanitizer policies, audit logs.
Discovery
Models, backends, capabilities, health checks.

