Skip to main content

Base URL

All API endpoints are versioned under /v1/.

Authentication

Include your API key in the Authorization header:
Get an API key from Settings > API Keys.

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:
  1. JSON-RPC (POST /v1/rpc) — the canonical endpoint for intent submission
  2. REST endpoints — resource-specific endpoints for CRUD operations (sessions, messages, memory, etc.)
  3. OpenAI-compatible (POST /v1/chat/completions) — drop-in replacement for OpenAI SDK
Explore the full API in the sidebar, or try endpoints in the interactive playground.