Skip to content

API Reference

Use the OpenAPI reference below for the full schema. If you are exploring the ai-model-gateway functionality, start with these endpoint families:

  • Model gateway ingress: GET /openai/v1/models, POST /openai/v1/chat/completions, POST /openai/v1/responses, and POST /anthropic/v1/messages
  • Account-level observability: GET /api/v1/account/gateway-usage/summary and GET /api/v1/account/telemetry/dashboard
  • Flow-level observability: GET /api/v1/flows/{flow_id}/gateway-usage/summary and GET /api/v1/flows/executions/{execution_id}/gateway-events
  • Runtime control plane: managed-agent and runtime-session endpoints for browsing enrolled runtimes, recent sessions, and session activity

These surfaces work together: the gateway handles managed model traffic, the usage ledger records attribution and spend, and the telemetry/runtime endpoints expose operator-facing views over that shared data.