Skip to main content

GatewayChatCompletionsRequest

An OpenAI Chat Completions request. Parameters not listed here are passed to the provider as sent.

modelstringrequired

The name of one of your gateway routers

Example: prod-gateway
messagesobject[]required
streamboolean
Default value: false
session_idstring

The conversation the request belongs to, when no header carries it. Read by the gateway and not sent to the provider.

property name*any

An OpenAI Chat Completions request. Parameters not listed here are passed to the provider as sent.

GatewayChatCompletionsRequest
{
"model": "prod-gateway",
"messages": [
{}
],
"stream": false,
"session_id": "string"
}