API Reference
The checked-in OpenAPI document is generated from the canonical Zod contracts and route surface. Use it for request/response generation and link back to these pages for behavior such as capability evidence, billing, cancellation, and safe retries.
pnpm sdk:generate
The document covers GET /v1/models, GET /v1/models/{model}, POST /v1/chat/completions, POST /v1/responses, and GET /v1/usage. The generated schemas include the normalized usage, inference metadata, stream events, and error catalogue. Unknown or unsupported fields are not silently accepted.
Download the generated OpenAPI JSON from the running web application, or inspect packages/contracts/openapi/inferencepass.openapi.json in a source checkout.