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.

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 sideren- and x-ratelimit- headers (Headers). Streaming is Server-Sent Events on every chat endpoint (Streaming).