Skip to main content
POST
/
{consumer_slug}
/
v1
/
chat
/
completions
Proxy chat completion
curl --request POST \
  --url https://agentgateway-admin.dev.neuraltrust.ai/{consumer_slug}/v1/chat/completions \
  --header 'Content-Type: application/json' \
  --data '{}'
{}

Headers

X-AG-API-Key
string

API key for inline consumers

Authorization
string

Bearer token for OAuth2 or IDP 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.