Skip to main content
POST
Error

Headers

X-AG-API-Key
string

API key for inline consumers

x-api-key
string

API key for inline consumers (Anthropic-compatible clients)

Authorization
string

Bearer ag_… for inline api-key auth, or Bearer JWT for OAuth2/OIDC consumers

X-AG-Gateway-Slug
string

Gateway slug when using header-based gateway discovery

Path Parameters

consumer_slug
string
required

Consumer slug

Body

application/json

OpenAI Chat Completions request body

The body is of type object.

Response

OK

The response is of type object.