Skip to main content
POST
An OpenAI chat-completions request, forwarded to the deployment's LLM gateway

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
messages
array
required
model
string
required

A gateway model id from /v1/llm.models

max_tokens
integer
stream
boolean
stream_options
object
tools
array

Response

The chat-completions reply (or the SSE stream), as the gateway answered it

The response is of type object.