Generate an agentic analytics response via Server-Sent Events. This endpoint leverages multi-step reasoning with tool use to deliver deeper, more comprehensive answers compared to the standard search & generate endpoints.
The response stream includes message echo, thinking processes, tool calls with results, and the final answer.
Note: Unlike /v1/search or /v2/chat/sse, this endpoint does not accept separate filter parameters (e.g., stock_ids, tickers, external_types, upload_period). Instead, include all filtering context directly in the query field. For example: "Analyze AAPL earnings trend from Q1 2024 to Q4 2025".
conversation -> conversation_id for this session
message -> echo of user query
status: start -> stream begins
+-- AGENTIC LOOP (repeats) ----------------------------+
| tool_use_block -> 1-N parallel tool calls (batch)|
| tool_result_block -> results for each call |
| status: keep_alive -> heartbeat (if >15s gap) |
| think (x N) -> reasoning tokens |
+------------------------------------------------------+
think (x N) -> extended reasoning / draft
answer -> single chunk final answer
status: finish -> stream ends
The analytics query to process. Include ticker symbols, date ranges, and any other filtering context directly in the query text (e.g., "Compare MSFT and GOOG revenue growth from 2023 to 2025").
Existing conversation ID to continue a multi-turn conversation. Omit or set to null for a new conversation.
Organization ID. Required for platform API keys to identify the target organization.
"123e4567-e89b-12d3-a456-426614174000"
User ID. Required together with user_email for platform API keys to identify the specific user.
"user-123"
User email. Required together with user_id for platform API keys to identify the specific user.
"john.doe@example.com"
SSE stream of analytics events. Each event is sent as data: {json}\n\n. The stream contains multiple event types in sequence. See the Event Flow section above for the typical ordering.