Read run events
agent_run_eventsRead a run's event log after a cursor and optionally poll at about 1 Hz until the run completes, so you can monitor progress and know when it finishes.
Instructions
Read a run's event log from a cursor (GET /runs//events?after=). With wait_for_done, polls at ~1 Hz (the web client's cadence) until the run finishes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | ||
| poll_s | No | ||
| run_id | Yes | ||
| scan_id | Yes | ||
| timeout_s | No | ||
| wait_for_done | No |