/browsers/{id}/telemetry/streamStreams 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. Fresh connections only see new events; pass replay=all to start from the oldest retained event instead.
Authorization
bearerAuth In: header
Path Parameters
Browser session ID
Query Parameters
Pass all to start from the oldest retained event instead of only new events; any other value is treated as from-now. The buffer is bounded, so the first event id may be greater than 1 if older events were evicted.
Header Parameters
Last event sequence number for SSE reconnection (sent by SSE clients on reconnect). Takes precedence over replay when both are present, so reconnect resumes instead of re-replaying.
Response Body
text/event-stream
application/json
application/json
application/json
application/json
curl -X GET "https://example.com/browsers/string/telemetry/stream"{ "seq": 1, "event": { "ts": 0, "type": "console_log", "category": "console", "source": { "kind": "cdp", "event": "string", "metadata": { "property1": "string", "property2": "string" } }, "data": { "session_id": "string", "target_id": "string", "target_type": "page", "frame_id": "string", "loader_id": "string", "url": "string", "nav_seq": 0, "level": "string", "text": "string", "args": [ "string" ], "stack_trace": { "description": "string", "callFrames": [ { "functionName": "string", "scriptId": "string", "url": "string", "lineNumber": 0, "columnNumber": 0 } ], "parent": {} } }, "truncated": true }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}{ "code": "string", "message": "string", "details": [ { "code": "string", "message": "string" } ], "inner_error": { "code": "string", "message": "string" }}Stream log files on the browser instance via SSE GET
Previous Page
Read telemetry events for a browser session GET
Reads a page of telemetry events for the browser session. To page through results, pass the X-Next-Offset value from the previous response as offset and repeat while X-Has-More is true. Returns an empty list when telemetry data is unavailable.