Skip to main content
POST
Stream a chat response from an agent (SSE)

Authorizations

Authorization
string
header
required

Dashboard JWT token from Clerk

Path Parameters

id
string
required

Agent identifier.

Body

application/json
message
string
required

User message to send to the agent.

Minimum string length: 1
history
object[]

Optional conversation history to seed the agent (additive on top of any persisted state).

conversationId
string

Existing conversation id to append onto. When omitted, a new conversation is created.

Response

text/event-stream payload. Each line is data: <json>\n\n. Terminal event includes final: true + conversation_id.

text/event-stream payload. Each line is data: <json>\n\n. Terminal event includes final: true + conversation_id.