host.runs.wait
Long-poll one run until it finalizes, until: {counter, gte} is reached, or timeout_s elapses (max 25s), returning its current status either way -- for a client with no polling loop of its own.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| until | No | {counter: <name>, gte: <n>} -- return as soon as that counter reaches n, even while the run is still running. | |
| run_id | Yes | The run id to wait on. | |
| timeout_s | No | Max seconds to wait, capped at 25; default 20. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. |