Browse docs
--- title: "API Overview" description: "Aurora exposes OpenAI-compatible and Anthropic-compatible APIs, plus provider-native passthrough routes and a built-in admin API." icon: "book-open" ---
Base URL
All API endpoints are served under the gateway base URL. Default:
http://your-aurora-hostWith BASE_PATH=/g:
http://your-aurora-host/g/v1/...
http://your-aurora-host/g/admin/api/v1/...
http://your-aurora-host/g/healthAuthentication
Authenticate with a Bearer token:
Authorization: Bearer <AURORA_MASTER_KEY or managed API key>Requests without authentication use the default tenant and no user path. Managed API keys carry metadata (tenant, user_path, rate limits, allowed models) for scoped access.
Endpoint Categories
OpenAI-Compatible Endpoints
Anthropic-Compatible Endpoint
The /v1/messages endpoint follows the Anthropic Messages API shape. Use it when client code uses the Anthropic SDK with base URL pointed at Aurora.
Passthrough Endpoints
Supports GET, POST, PUT, PATCH, DELETE, HEAD, OPTIONS.
Other Endpoints
Error Format
Aurora returns OpenAI-compatible error responses:
{
"error": {
"type": "invalid_request_error",
"message": "description of the error",
"code": "error_code"
}
}Common error types: invalid_request_error, authentication_error, rate_limit_error, edition_restricted.
OpenAPI Spec
The complete API specification is available as openapi.json for use with API clients, code generation, and documentation tools.