Proxy chat completion
Forwards an OpenAI Chat Completions request to the selected provider. Proxy plane route: //v1/chat/completions. Other fixed routes include /v1/messages (Anthropic) and /v1/responses (OpenAI Responses). Inline consumers may authenticate with an api key via X-AG-API-Key, x-api-key, or Authorization: Bearer ag_….
Headers
API key for inline consumers
API key for inline consumers (Anthropic-compatible clients)
Bearer ag_… for inline api-key auth, or Bearer JWT for OAuth2/OIDC consumers
Gateway slug when using header-based gateway discovery
Path Parameters
Consumer slug
Body
OpenAI Chat Completions request body
The body is of type object.
Response
OK
The response is of type object.