AI Gateway API
Model traffic in both OpenAI and Anthropic dialects, plus the admin surface for aliases, prompts, budgets and audit.
For concepts and configuration see the block documentation.
Endpoints
Section titled “Endpoints”| Path |
|---|
/audio/speech |
/audio/transcriptions |
/images/generations |
/v1/batches |
/v1/batches/:id |
/v1/batches/:id/cancel |
/v1/batches/:id/results |
/v1/chat/completions |
/v1/embeddings |
/v1/files |
/v1/files/:id/content |
/v1/messages |
/v1/messages/count_tokens |
/v1/models |
Administration
Section titled “Administration”Separate surface, authenticated independently of the data plane.
| Path |
|---|
/admin/v1/aliases |
/admin/v1/aliases/:name |
/admin/v1/audit/:request_id |
/admin/v1/budgets/:tenant |
/admin/v1/health |
/admin/v1/prompts/:name |
/admin/v1/stats |
Tenancy
Section titled “Tenancy”Every request carries the platform tenancy headers — X-Kis-Tenant, X-Kis-Product and
X-Kis-Environment. They are the partition key for storage, quotas and audit, so a request
without them is rejected rather than served against a default tenant.
Errors
Section titled “Errors”Errors use the platform’s structured error body: a stable code, a human-readable message, and the request id to correlate against logs and audit.