Shared API Contract

Download the versioned OpenAPI contract for account usage, model discovery and chat. Account usage supports inclusive UTC dates and includes revoked keys and playground sessions.

Open OpenAPI specification
GET /api/user/usage?from=2026-10-01&to=2026-10-31

error: { code, message, request_id, retryable, retry_after }

retry_after is expressed in seconds. Streaming errors carry the same request ID. Automatic chat retries may incur additional charges; repeat requests deliberately.

ExosAI

ExosAI — OpenAI-compatible AI API