Cancel Workflow Run
Cancel a running workflow run by its ID. This endpoint allows you to stop a workflow run that is currently in progress.
Note: Only workflow runs with a status of PROCESSING or PENDING can be cancelled. Workflow runs that are completed, failed, in review, rejected, or already cancelled cannot be cancelled.
Authentication
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
The ID of the workflow run.
Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"
Headers
Response
The type of object. In this case, it will always be "workflow_run".
The ID of the workflow run.
Example: "workflow_run_xKm9pNv3qWsY_jL2tR5Dh"
A summary representation of a workflow version (without steps).
A URL to view this workflow run in the Extend dashboard.
Example: "https://dashboard.extend.ai/workflows/workflow_run_xKm9pNv3qWsY_jL2tR5Dh"
The status of a workflow run:
"PENDING"- The workflow run is waiting to be processed"PROCESSING"- The workflow run is currently processing"NEEDS_REVIEW"- The workflow run requires manual review"REJECTED"- The workflow run was rejected during review"PROCESSED"- The workflow run completed successfully"FAILED"- The workflow run encountered an error"CANCELLED"- The workflow run was cancelled"CANCELLING"- The workflow run is being cancelled
The batch ID of the WorkflowRun. If this WorkflowRun was created as part of a batch of files, all runs in that batch will have the same batch ID.
Example: "batch_7Ws31-F5"
The time (in UTC) at which the workflow run was created. Will follow the RFC 3339 format. Will be null if the run hasnβt started yet.
Example: "2025-04-28T17:01:39.285Z"
The email address of the person who reviewed the workflow run. Will be null if the workflow run has not been reviewed.
Example: "jane.doe@example.com"
A note that is added if a workflow run is rejected.
Example: "Invalid invoice format"
The time (in UTC) at which the workflow run was reviewed. Will follow the RFC 3339 format. Will be null if the workflow run has not been reviewed.
Example: "2024-03-21T16:45:00Z"
The time (in UTC) at which the workflow run started executing. This will always be after the initialRunAt time. Will follow the RFC 3339 format. Will be null if the workflow run has not started executing.
Example: "2024-03-21T15:30:00Z"
The time (in UTC) that the workflow finished executing. Will follow the RFC 3339 format. Will be null if the workflow run has not finished executing.
Example: "2024-03-21T15:35:00Z"
Usage credits consumed by a run.
Availability: This field will not be returned for:
- Runs created before October 7, 2025
- Customers on legacy billing systems
For more details on how credits work, see our Credits Guide.

