Skip to main content
GET
Stream insights (SSE)
This endpoint requires the insight.stream scope on your API key.

Connection Behavior

  1. On connect, a comment is sent: : connected workspace_id=... token_id=...
  2. Recent insights are replayed as insight.replay events (up to 20)
  3. Keepalive comments (: keepalive) are sent every 30 seconds
  4. New insights arrive as insight.batch.created events in real-time

Example

Event Types

Event Format

Authorizations

Authorization
string
header
required

API key for authentication (format: "Bearer YOUR_API_KEY")

Response

SSE event stream of insights

Server-Sent Events stream. Events: 'insight.batch.created' (real-time new insights), 'insight.replay' (historical replay on connect). Each event's data field contains a JSON object with workspace, insights array, insight_count, and emitted_at.

Last modified on February 10, 2026