Skip to main content
POST
Create a chat completion via a Verlon gate

Authorizations

Authorization
string
header
required

Verlon API key (newly minted keys are prefixed sk-vrln-; legacy verlon_* and layer_* keys from prior prefix migrations continue to validate). Generated from the dashboard under Settings → API Keys, or via verlon key create in the CLI.

Body

application/json
gateId
string
required
data
object
required
model
string
metadata
any
endUserId
string
sessionId
string

Response

Chat completion response. Shape matches the underlying provider format selected by the gate (OpenAI-compatible by default). For streaming requests, returns SSE chunks instead of a single JSON body.