React to Run Events
Every run emits a structured event stream - navigations, network failures, console errors. Subscribe over server-sent events and turn the ones you care about into alerts or interventions, while the run is still going.
Filter at the source instead of in your handler when you only want one kind of event:
Reacting, not just watching
The stream pairs with the rest of the API. A burst of network.failed events might mean the proxy exit went bad - stop the runtime and restart on a fresh sticky key. A page that’s clearly stuck is a good moment to mint a takeover link and page a human, with the URL right in the alert.
For a after-the-fact version of the same data - paged, filterable, no connection to hold - use bctrl.runs.events.list(runId) instead. And if you want the human-readable rollup rather than the firehose, that’s activity.
Next
- Events & Activity - types, filters, and the activity view
- Embed a Live Browser View - escalate to human eyes
- Watch a Run From the Terminal - the same stream in your shell

