Skip to content

HTTP routes

The routes as the server’s own OpenAPI document lists them: a route cannot exist without its entry (ADR 0036). A running server serves the full document, schemas included, at /v1/openapi.json and a browsable page at /v1/docs/, both without a key. The API explains each route.

Method Path What it does
POST /v1/audio/transcriptions A transcript from audio
GET /v1/realtime A Realtime transcription session
Method Path What it does
POST /v1/chat/completions A chat completion, streaming or not
Method Path What it does
GET /v1/config The running configuration
PATCH /v1/config Change the running configuration
GET /v1/config/fields The configuration’s fields
GET /v1/config/origins Where each configuration value comes from
Method Path What it does
POST /v1/decide A typed decision, read rather than generated
Method Path What it does
POST /v1/images/edits Images from a prompt and condition images
POST /v1/images/generations Images from a prompt
Method Path What it does
GET /v1/models The servable models, the loaded one first
GET /v1/models/catalog The models this server can switch to or fetch
POST /v1/models/download Download a catalog entry in the background
POST /v1/models/download/cancel Stop the running download, keeping its partial files
POST /v1/models/remove Remove a catalog entry’s files from the models folder
POST /v1/models/switch Replace the loaded model
Method Path What it does
GET /v1/responses The Responses API’s WebSocket mode
POST /v1/responses A response, the Responses API
Method Path What it does
POST /v1/detokenize Token ids back to text
POST /v1/tokenize A prompt’s token count, without serving it