Cancel Execution
curl --request POST \
--url https://modelslab.com/api/v1/workflows/{workflow_id}/runs/{execution_id}/cancelWorkflows API
Cancel Execution
Cancels a running or pending workflow execution.
POST
/
api
/
v1
/
workflows
/
{workflow_id}
/
runs
/
{execution_id}
/
cancel
Cancel Execution
curl --request POST \
--url https://modelslab.com/api/v1/workflows/{workflow_id}/runs/{execution_id}/cancelDocumentation Index
Fetch the complete documentation index at: https://docs.modelslab.com/llms.txt
Use this file to discover all available pages before exploring further.
Path Parameters
The workflow UUID
The execution ID
Response
{
"status": "success",
"message": "Execution cancelled."
}
Error Responses
400 Bad Request- Cannot cancel execution in current state (already completed/failed)404 Not Found- Execution not found
Was this page helpful?
⌘I

