Home/Server
/API Reference
Authentication
All /v1/* routes require Bearer token or API-key authentication. Website/admin routes use session-based auth. See Security for details.
OpenAI-Compatible APIs (/v1/*)
The canonical external API surface. Drop-in compatible with OpenAI SDKs.
| Method | Endpoint | Description |
| POST | /v1/chat/completions | Chat completions with streaming, tool calling, vision support |
| POST | /v1/completions | Legacy text completions |
| POST | /v1/embeddings | Generate text embeddings |
| GET | /v1/models | List available models |
| GET | /v1/models/{model_id} | Retrieve model details |
RAG APIs (/v1/rag/*)
| Method | Endpoint | Description |
| POST | /v1/rag/query | Semantic search across collections |
| POST | /v1/rag/collections/{id}/query | Query a specific collection |
| GET | /v1/rag/collections | List all collections |
| POST | /v1/rag/collections | Create a new collection |
| GET | /v1/rag/runtime/database-profiles | List storage profiles |
| POST | /v1/rag/runtime/database-profiles | Create storage profile |
Agent Framework APIs (/v1/agent-framework/*)
| Method | Endpoint | Description |
| POST | /v1/agent-framework/execute | Execute an agent with tools and memory |
| POST | /v1/agent-framework/plan | Generate a multi-step plan |
| GET | /v1/agent-framework/telemetry | Retrieve agent telemetry |
Other /v1/* Endpoints
| Method | Endpoint | Description |
| GET | /v1/mcp/tools | MCP tool discovery and invocation |
| POST | /v1/audio/transcriptions | Speech-to-text transcription |
| POST | /v1/audio/speech | Text-to-speech generation |
| POST | /v1/images/generations | Text-to-image generation |
| POST | /v1/document-extraction | Document parsing and extraction |
| GET | /v1/health | Health check endpoint |
| POST | /v1/tooling | Tool execution API |
| GET | /v1/scheduler/jobs | Job scheduling API |
| GET | /v1/users | User management API |
| GET | /v1/tokens | Token management API |
Admin & Website Routes
| Route | Description | Auth |
/admin/ | Admin dashboard | Session |
/admin/users | User CRUD management | Session + Admin |
/admin/roles | Role and permission management | Session + Admin |
/admin/services | Service status, email, monitoring, audit | Session + Admin |
/admin/sessions | Session management | Session + Admin |
/admin/auth | OAuth2, LDAP, Azure AD configuration | Session + Admin |
/admin/mcp | MCP server management surface | Session |
/agents | Agent Framework overview | Session |
/rag | RAG management overview | Session |
/studio | Agent Studio dashboard | Session |
/tooling | Tooling service workspace | Session |
/specialty-layers | Specialty Layers service | Session |
/data-sources | Enterprise data sources | Session |
/workflow-engine | Workflow execution engine | Session |