Skip to main content

GET /browser-agent/:id/stream

Attach a live Server-Sent Events stream to an in-progress run. You get an immediate snapshot, then per-step events as they happen. The stream closes itself when the run completes or fails. Use this when you submitted with async: true and want live progress without polling. If you want streaming from the moment of submission, pass stream: true on POST /browser-agent instead.

Endpoint

Auth

Standard header auth works, and because EventSource in browsers can’t set custom headers, an apiKey query param is also accepted:

Events

Errors

Example

Poll instead

GET /browser-agent/:id — simple polling with optional event timeline.