Skip to main content

Base URL

For self-hosted instances, use your configured API URL.

Authentication

Most endpoints require authentication via Bearer token. Get your API key from the dashboard:
  1. Go to Settings > API
  2. Click Generate API Key
  3. Copy and store securely
Include in requests:

Response Format

All responses return JSON:
Error responses:

Rate Limits

Rate limits depend on your plan: Rate limit headers are included in responses:

Streaming

The chat endpoint uses Server-Sent Events (SSE) for real-time streaming:
Response events: