AI Endpoints
Investigate (Streaming)
Streaming variant of the Investigate endpoint. Returns server-sent events for real-time consumption of AI-powered analysis.
POST
Authentication
Requires a valid JWT token in theAuthorization header.
Rate Limits
10 requests per 60-second window per authenticated user.Request Body
The request body is identical to the Investigate endpoint.The research question to investigate. Maximum 500 characters.
Geographic scope. One of
US or UK.Lookback window in weeks. Range:
1—104.Optional CPIX composite score to provide additional context.
Array of driver objects to seed the analysis.
Array of signal objects to incorporate.
Optional client context for tailored analysis. Maximum 500 characters.
Response
The response usestext/event-stream content type. Each event follows the SSE protocol.
Event Types
| Event | Description |
|---|---|
delta | Partial text chunk of the synthesis. |
done | Final event indicating the stream is complete. Contains the full response payload. |
error | Error event with a message describing the failure. |