Bulk Update Case Status
bulkUpdateCaseStatusUpdate the status of multiple cases to pending, completed, failed, or canceled. Interrupts any active runs and releases their case ownership, but never cancels their human-in-the-loop state — pending requests and open approval batches stay answerable/resolvable from the run view. Settling a case archives the pending requests on every run attached to it, both the runs this call interrupted and any that were already terminal, so they leave the activity inbox instead of outliving the case there. Resetting to pending archives nothing and re-dispatches cases to the queue's trigger consumer.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| search | No | Free-text search selecting the cases when all_matching is true. | |
| status | Yes | Target status for each case. `completed`, `failed`, and `canceled` are terminal — `canceled` records a deliberate human stop, distinct from a system `failed`. `pending` resets the case (the queue's trigger consumer, if any, will re-claim it). `success` is not settable: it means an evaluation passed. | |
| filters | No | Filters selecting the cases when all_matching is true. | |
| case_ids | No | Explicit case IDs to act on (1-100). Provide this or set all_matching. | |
| queue_id | Yes | The queue's unique identifier | |
| all_matching | No | When true, act on every case matching the provided filters/search instead of an explicit id list. |