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 View 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. The same Run page explains how trace data and raw events relate.
Next
- Trace and events - types, filters, and the activity view
- Views - escalate to human eyes
- CLI - inspect Runs from the terminal

