Skip to main content
POST
Chat

Authorizations

gateway_session
string
cookie
required

Secure same-origin browser session cookie.

Body

application/json
model
string
required
messages
PlaygroundMessageRequest · object[]
required
Required array length: 1 - 100 elements
api_key_id
string
required
endpoint
enum<string>
default:chat/completions
Available options:
chat/completions,
responses,
messages
project_id
string | null

Response

Provider response or server-sent event stream.

The response is of type object.