Stream log files on the browser instance via SSE
/browsers/{id}/logs/streamAuthorization
bearerAuth In: header
Path Parameters
Browser session ID
Query Parameters
Value in
- "path"
- "supervisor"
trueonly required if source is path
only required if source is supervisor
Response
SSE stream of logs
A log entry from the application.
curl -X GET "https://example.com/browsers/string/logs/stream?source=path"{ "event": "log", "timestamp": "2019-08-24T14:15:22Z", "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" }}postStop a browser session replay recording
Stop the specified replay recording and persist the video.
getStream 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. Fresh connections only see new events; pass replay=all to start from the oldest retained event instead.