Skip to main content
POST
Stop Workflow Task

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Path Parameters

task_id
string
required

Task ID, from the streaming events of Run Workflow.

Body

application/json
user
string
required

End-user identifier, defined by your app and unique within it. Need not match the user that started the run; the stop applies to the task regardless of user. See End User Identity.

Response

Operation successful.

result
string

Operation result. Always success.