Stream an agent reply word by word (SSE)
Send a chat message and receive the agent reply as a Server-Sent Events stream. The endpoint runs the blocking chat path, then emits the answer word by word as text/event-stream: token events carry incremental text, a terminal done event carries totalTokens, costCents, and conversationId, and an error event carries a code and message. Use this for a typing-indicator experience when the SDK expects a streaming method. Rate limited to 20 requests per minute per tenant.
Authorizations
Dashboard JWT token from Clerk
Path Parameters
Identifier of the agent to converse with.
Body
Response
Server-Sent Events stream of the agent reply. Emits token events with incremental text, a terminal done event, and an error event on failure.
The response is of type string.