Skip to main content

Base URL

All endpoints below are relative to:
Authentication is one key across the whole surface — see Authentication for which header each dialect expects.

Endpoints

GET /v1/models/{id} returns a single catalog entry. Batches also exist in an OpenAI flavor at /v1/batches with the same lifecycle — see Batches.

The agent-native surface

The endpoints above are one turn each. These are for work that outlives a request — a job you submit, follow, and inspect afterwards.

Also on the surface

Conventions

Errors are standard HTTP status codes with a JSON body shaped for the protocol you called (Errors). Responses carry a small, fixed set of x1- and x-ratelimit- headers (Headers). Streaming is Server-Sent Events on every chat endpoint (Streaming).