Parameters
| Name | Type | Required | Meaning |
|---|---|---|---|
instance_id |
string | yes | The instance to inspect. |
Returns
The instance's current status — running, paused, completed, failed or cancelled — the step it is on, and, inside a task loop, how many tasks are done out of how many.
When to use it
Before resuming work on an instance the agent did not start in this session, or when a run has been waiting at a gate and the agent needs to know whether it still is. For the history of what happened, use ccw_instance_logs.