Create conversation and stream response
Start a conversation with the Summation analyst agent and stream its reply.
Responds as Server-Sent Events: status events while a sandbox is
prepared (queued, preparing), then message/content events, and a
terminal event when the turn completes. Expect tens of seconds before
first content on a cold start.
Authorizations
The access token received from the authorization server in the OAuth 2.0 flow.
Path Parameters
Body
User message to send to the Summation agent.
1Optional alternate rendering of the message for display; the agent still receives message.
Project file ids to attach to the message as context.
Project file ids referenced inline in the message.
Chat model id to use for this turn, from GET /v1/chat-models. Per-request model selection is honored where enabled for the tenant; otherwise the default model applies. The reply metadata reports the model that ran.
1Reasoning effort for this turn (low, medium, high, xhigh, max). Honored under the same tenant setting as model selection; otherwise the default effort applies.
low, medium, high, xhigh, max Optional conversation title; derived from the message when omitted.
Response
Server-Sent Events stream of agent activity.
Each event is a UTF-8 line prefixed with event:, id:, or data: per the SSE spec. The data: payload is a JSON object with the shape {"type": <event_type>, "sequence": <int>, "data": <object>}.
Event types emitted by the agent:
status— high-level progress;data.message(queued/running text) ordata.summary(short status line)tool.started— agent invoked a tool;data.id,data.nametool.input— tool input arguments;data.id,data.name,data.inputtool.completed— tool finished;data.idmessage.delta— incremental assistant text;data.text(append in order)done— terminal event;data.messageId,data.content(final assistant message),data.status(complete/error/cancelled)
Resumability: when the connection drops before done, the same stream can be resumed via GET /v1/projects/{project_id}/conversations/{chat_id}/messages/{message_id}/events.