Stream telemetry events via SSE
Streams browser telemetry events as a server-sent events (SSE) stream. The stream closes when the browser session terminates. Each event frame includes an id: field containing a monotonically increasing sequence number; pass it as Last-Event-ID on reconnect to resume without gaps. The event: field is never set; all frames carry JSON in the data: field. A keepalive comment frame is sent every 15 seconds when no events arrive. Returns 404 if the browser session does not exist. If telemetry was not enabled on the session, the stream opens but no events are delivered.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Headers
Last event sequence number for SSE reconnection (sent by SSE clients on reconnect)
Path Parameters
Browser session ID
Response
SSE stream of telemetry events
Envelope wrapping a browser telemetry event with its monotonic sequence number. Each SSE data: frame carries one envelope as JSON. The seq value is also emitted as the SSE id: field so clients can pass it as Last-Event-ID on reconnect.
Process-monotonic sequence number assigned by the browser VM. Pass as Last-Event-ID on reconnect to resume without gaps. Gaps in received seq values indicate dropped events.
x >= 1Union type representing any browser telemetry event. Discriminated on type. Each event's category determines when it is captured. The CDP collector-health events (monitor_disconnected, monitor_reconnected, monitor_reconnect_failed, monitor_init_failed) use the monitor category, which is not user-configurable: it flows automatically whenever any CDP category (console, network, page, interaction) is captured, and is silent otherwise. monitor_screenshot uses the opt-in screenshot category. All other event types are controlled by their per-category enable/disable flags.
- console_log
- console_error
- network_request
- network_response
- network_loading_failed
- network_idle
- page_dom_content_loaded
- page_load
- page_tab_opened
- page_layout_shift
- page_lcp
- page_layout_settled
- interaction_click
- interaction_key
- interaction_scroll_settled
- monitor_screenshot
- monitor_disconnected
- monitor_reconnected
- monitor_reconnect_failed
- monitor_init_failed
- Option 23
- Option 24
- Option 25
- Option 26
- Option 27
- Option 28
- Option 29
- Option 30