Skip to main content
POST
Ask the AI Assistant, streaming its work

Authorizations

Authorization
string
header
required

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

Path Parameters

conversation_id
string<uuid>
required

Body

application/json

Send the AI Assistant a message.

prompt
string
required
Required string length: 1 - 4000

Response

A stream of Server-Sent Events. The final result frame's data is a turn; an error frame's data is a stream error.

Both halves of one turn, as saved.

The user message too, not just the reply: the client drew its own copy before sending and reconciles it against this one.