Skip to main content
POST
Chat Completions

Headers

authorization
string | null

Private Key

Body

application/json
agent
AgentCallData · object
required
messages
(UserMessage · object | AssistantMessage · object | ToolMessage · object)[]
required
end_of_session
boolean
default:false

Response

Successful response with streaming data

The response is of type file.