POST
/
v1
/
playground
/
chat

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
prompt
string
required

The user prompt

app_id
string
required

The App ID belonging to this user's org where all the logs will be logged

model
string | null

The name of the model which will be used

temperature
number | null

The temperature of the request

Required range: 0 < x < 1
max_tokens
integer | null

The maximum number of tokens for the request

Required range: x > 1
assistant_id
string | null

The Assistant ID to use for this request

assistant_version_id
string | null

The Assistant version ID to use for this request

conversation_id
string | null

The Conversation ID to use for this request

parent_request_id
string | null

The Parent Request ID to use for this request

plugins
string[]

The list of plugins to enable for the request

images
string[] | null

A list of images that should be analyzed (vision api)

files
string[] | null

A list of files that should be analyzed (images, audio, etc.)