Authentication
Bearer token for authentication
Body
Array of message objects containing the conversation history
The ID of the AI agent to chat with
Optional UUID for the conversation thread. If not provided, a new one will be generated
Optional UUID to link this conversation to an upstream conversation
Headers
Controls whether the response is streamed. Set to
false
for non-streaming responsesResponse
Array of message objects containing the conversation, including the AI’s response
The conversation thread ID (returned in headers)
Examples
Examples
Error Codes
Unauthorized - Invalid or missing authentication
Not Found - Agent or organization not found
Bad Request - Invalid request body
Internal Server Error - Unexpected error occurred