API reference
The OpenAI-compatible API — authentication, endpoints, streaming, sandbox invocation and errors.
API reference
Overview
Runtime endpoints, authentication, response types and errors — the shape of the public API.
ReadAuthentication
Bearer keys, each bound to exactly one project.
ReadChat completions
The one endpoint you will call most — OpenAI-compatible, with strict field checking.
ReadModels
List what your key can actually call — your project's set, not the whole catalogue.
ReadStreaming
Incremental server-sent events, and the terminator that tells you the reply is whole.
ReadRate limits
Request-rate protection and the spending ceilings that are not rate limits.
ReadErrors
The error envelope, and every code worth branching on.
ReadSandbox products
Your project's private flows — contracts, revisions, HTTP and MCP invocation.
Read