POST
/
v1
/
deployment
/
agents
/
{agentDeploymentId}
/
chat

Authorizations

Authorization
string
headerrequired

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

Path Parameters

agentDeploymentId
string
required

Body

application/json
message
string
required
stream_tokens
boolean
return_message_types
enum<string>[]
Available options:
function_return,
function_call,
internal_monologue,
user_message,
system_message
return_function_calls
string[]
format_function_call_arguments
boolean

Response

201 - application/json
messages
object[]
required