Workflow Runs
Stop Workflow Task
Available for: Workflow apps.
Stop a running workflow task. Only supported in streaming mode, or after a blocking call returns with the run paused.
post/workflows/tasks/{task_id}/stop
Request
- Base URLhttps://api.dify.ai/v1
- URLhttps://api.dify.ai/v1/workflows/tasks/{task_id}/stop
- AuthHTTP bearer
Path parameters
task_idstring required
Task ID, from the streaming events of Run Workflow, or from the blocking response of a run that paused.
Request body
Response
Operation successful.
Changes
No recorded changes to this operation across all 17 revisions of this API.