Skip to main content
POST

Request Body

Same as Send Message — all fields are identical.
agent_id
string
required
Target agent ID (ag_*)
message
string
required
User message text
session_id
string
Session ID for conversation memory

Response — Server-Sent Events (SSE)

The response is a stream of text/event-stream events. Each event is a JSON object on a data: line:

Event Types


Client Example — JavaScript


Client Example — Python


Errors

Authorizations

Authorization
string
header
required

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

Body

application/json
agent_id
string
required
query
string
required
user_id
string | null
session_id
string | null

Response

Successful Response