Skip to main content
POST
Stop Workflow Task

Authorizations

Authorization
string
header
required

API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences. Requests with a missing or invalid API key fail with HTTP 401 and error code unauthorized.

Path Parameters

task_id
string
required

Task ID, can be obtained from the streaming chunk return of the Run Workflow API.

Body

application/json
user
string
required

User identifier, used to attribute the stop request to an end user. It does not need to match the user passed to Run Workflow; the stop applies to the task regardless of user.

Response

Operation successful.

result
string

Operation result. Always success.

Last modified on July 9, 2026