Send agent message (SSE stream)
Same body shape as the sync endpoint. Returns a Server-Sent Events stream. Inspect the conversation-id event for the conversation public ID, accumulate text-delta events for the reply text, and the debug-info event surfaces tokens, model and cost. Pre-flight failures (insufficient ops, agent not published, etc.) are emitted as a single error event with HTTP 200 — SSE clients should parse the body.
Autorizações
Parâmetros de caminho
Agent public ID
Corpo
Body for sending a message to an agent (sync or streaming).
Optional attachments to include with this message (max 10).
10Message text. May be empty when at least one attachment is provided.
32000"Hi, can you summarize my latest invoices?"
Continue this conversation. Omit to create a new conversation or reuse one for the externalUserId.
"9c3a4d22-1a8d-4b3f-9b1e-7a0f0c4f3e21"
Stable end-user identifier. Auto-generated UUID if omitted on a new conversation.
255"user_42"
Only honored when CREATING a new conversation. true excludes the conversation from the Studio inbox. Ignored when continuing an existing conversation.
false
Arbitrary JSON metadata; stored on the conversation (first message only).
Sync-only: max wall-clock seconds to block before returning 408. Ignored by the stream endpoint.
1 <= x <= 30060
Resposta
SSE stream begins

