Cancel a flow run
Flow Runs
Cancel Flow Run
Cancel a running or pending flow run
POST
Cancel a flow run
Cancel a flow run that is currently running or pending. This immediately stops the flow and prevents any further processing.
Use Cases:
- Stop a flow that was started with incorrect parameters
- Cancel a long-running flow that is no longer needed
- Abort processing to avoid unnecessary credit consumption
CREATED- Flow is created but not yet startedQUEUED- Flow is waiting to be processedSCHEDULED- Flow is scheduled for future executionRUNNING- Flow is currently processing
Credits consumed before cancellation are not refunded. Cancel early to minimize credit usage.
Authorizations
Path Parameters
Flow run UUID
Response
Cancel the flow run
Cancel the flow run
Flow Run UUID
Member/User UUID
Workspace UUID
Last error message
Callback
Flow Run status
Available options:
CREATED, INVALID, QUEUED, SCHEDULED, BLOCKED, STOPPED, RUNNING, FAILED, PARTIAL_SUCCEEDED, SUCCEEDED Number of outputs generated by the flow run (only available when the flow run is finished)
If the flow run is scheduled, this field indicates the scheduled flow run UUID.
Started at
Finished at
Created at
Updated at

