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-gatewaymessagesobject[]required
streamboolean
Default value:
falsesession_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"
}