# API reference

Generated endpoint schemas, authentication, responses, and errors.

The API reference is generated from the same public contract as the downloadable OpenAPI files.

- [OpenAPI JSON](/openapi.json)
- [OpenAPI YAML](/openapi.yaml)

## Endpoints

- [`GET /v1/models`](/docs/api-reference/listmodels/) — List available models
- [`POST /v1/chat/completions`](/docs/api-reference/createchatcompletion/) — Create a chat completion
- [`POST /v1/responses`](/docs/api-reference/createresponse/) — Create a response
- [`POST /v1/messages`](/docs/api-reference/createmessage/) — Create a message (Anthropic Messages compatibility)
- [`POST /v1/audio/transcriptions`](/docs/api-reference/createtranscription/) — Transcribe audio to text
- [`POST /v1/audio/speech`](/docs/api-reference/createspeech/) — Synthesize speech from text
- [`GET /health`](/docs/api-reference/healthcheck/) — Health check
- [`HEAD /`](/docs/api-reference/probeapihost/) — Probe the API host
