Continue a conversation (streaming)
POST/agents/:agentId/conversations/:conversationId/messages/stream
Submit a follow-up question to an existing conversation and receive the response as a Server-Sent Events (SSE) stream. Requires the ECE feature flag to be enabled for the environment. GraphRag agents using the cin-ece-kd application key bypass this requirement and always have access to the streaming endpoint.
Request
Responses
- 200
- 403
- 404
Server-Sent Events stream. Each event is a JSON object prefixed with data: and terminated by a blank line. The JSON type field identifies the event type. Possible event types: response.created, response.output_text.delta, response.function_call_arguments.done, response.completed, response.incomplete, response.error. Knowledge Discovery adds conversationId to response.created; the message ID is available in the response's X-Correlation-Id header and later as message.id in response.completed. The response.error event includes a required error message and an optional code field (for example, 401) that identifies the error category. Provenance is a top-level sibling: response.created declares /answer and /followUpPrompts before deltas, regardless of follow-up enablement. Deltas inherit that declaration. Terminal events declare only generated fields they carry; status-only incomplete events, fixed refusals, and empty output omit provenance. Paths refer to the logical output message, not /message/answer. Interrupted streams do not guarantee a terminal event; previously received text retains its attribution.
Forbidden
Not Found