Cancel Workflow Test Run
Cancel a workflow test run.
Identified by run_id. Stops the run and returns it with its updated
cancelled lifecycle. Returns 404 if the run does not exist or is not in a
cancellable state.
run_id. Cancellation is
run-specific; you do not pass the workflow id or test id when cancelling.
Authorizations
Path Parameters
Response
Successful Response
A batch execution of a workflow's tests, with overall lifecycle, timing, and pass/fail counts.
Public summary of what started a run: just the trigger category.
The full per-variant detail (schedule_id, parent_run_id, sender, ...) is
kept internally on StoredWorkflowRun.trigger but intentionally not
exposed in the public API surface.
The test run has been created but execution has not started.
- PendingWorkflowTestRun
- QueuedWorkflowTestRun
- RunningWorkflowTestRun
- CompletedWorkflowTestRun
- ErrorWorkflowTestRun
- CancelledWorkflowTestRun
Public workflow-test target.
The storage layer remains block-scoped today, but the API shape names the tested entity explicitly so workflow-level targets can be added later.
Aggregate counts for a batch of block-test runs.
Each individual run contributes to exactly one lifecycle_counts
bucket, and additionally to one outcome bucket when
lifecycle_counts.completed is incremented.