Base URL
Make a request
Send a chat completion request:stream to true:
Endpoints
OpenAI compatibility
Auriko supports the same request/response format as OpenAI. Switch to Auriko by changing two values:- Base URL:
https://api.openai.com/v1→https://api.auriko.ai/v1 - API Key: Use your Auriko API key (starts with
ak_)
Auriko extensions
Auriko responses carry additional fields beyond the OpenAI format.Response extensions
Every chat completion response includes arouting_metadata object with routing and cost details:
warnings carries one or more structured entries:
Request extensions
Pass routing options to optimize your requests via thegateway field:
Request metadata
Attach custom metadata to requests for tracking and observability viagateway.metadata. Auriko strips this metadata before forwarding to the provider.
Response headers
Every response carries custom headers. See Response headers for the full reference.Authentication
Learn how to authenticate your requests