Base URL
/v1/.
Authentication
Include your API key in theAuthorization header:
Request format
All request bodies use JSON:Response format
Responses are JSON with standard HTTP status codes:
Error responses include a message:
Rate limits
Rate-limited responses return
429 with a Retry-After header.
Endpoints
The API has two main entry points:- JSON-RPC (
POST /v1/rpc) — the canonical endpoint for intent submission - REST endpoints — resource-specific endpoints for CRUD operations (sessions, messages, memory, etc.)
- OpenAI-compatible (
POST /v1/chat/completions) — drop-in replacement for OpenAI SDK