stream to true on POST https://api-beta.ai-baseline.xyz/v2/sandp_500/query to receive Server-Sent Events instead of a single JSON response.
Streaming is supported for:
| Mode | Streaming |
|---|---|
basic | Supported |
research | Supported |
agentic_research | Supported |
include.answer=true; analysis deltas are emitted only when include.analysis=true.
Event Types
Each frame uses the standard SSE shape:| Event | Emitted when |
|---|---|
retrieval.started | The server has accepted the request and started retrieval. |
retrieval.completed | Retrieval has finished and the evidence count is known. |
answer.delta | A text delta for the grounded answer is available when answer generation is enabled. |
analysis.delta | An analysis delta is available for research or agentic_research when include.analysis=true. |
final | The final ResearchResponse envelope is available. |
error | The streaming workflow failed after the stream opened. |
final event uses the same response envelope as non-streaming requests and honors the same include controls.