host.runs.cancel
Stop a queued or running job: its sandbox process is killed within ~2s and the run reads cancelled. A run that already finished fails with run_not_cancellable.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| run_id | Yes | The run id to cancel. | |
| tenant_key | No | The key `signup` returned. Required only when this connection carries no Authorization: Bearer header -- when both are present, the header wins. |