Cancel an aictrl workflow run
cancel_workflow_runRequest cancellation of a queued, running, pausing, or paused workflow run; a run in any other status is rejected with conflict. Waiting and queued nodes are cancelled immediately. If nodes are still running, the run moves to cancelling while that work drains and becomes cancelled later; call get_workflow_run to observe completion. Cancellation does not promise to interrupt running work immediately and does not roll back effects that already completed. Only the run owner or an organization admin may cancel.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | No | Optional cancellation reason. | |
| run_id | Yes | Workflow run ID returned by start_workflow or list_workflow_runs. | |
| organization_id | Yes | AICtrl organization ID returned by list_organizations. |