Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
cURL
curl --request POST \ --url https://wfapi.yuhe.space/api/workflows/{workflowName}/runs/{runId}/cancel \ --header 'Authorization: Bearer <token>'
{ "errCode": 123, "errMessage": "<string>", "data": { "runId": "<string>", "workflowName": "<string>", "cancelled": true, "message": "<string>" } }
只会取消仍挂在当前 server 进程上的 runner;已完成的 run 会返回当前状态且 cancelled=false。
使用 WORKFLOW_SERVER_ADMIN_KEY 或已创建的账号 API Key。
WORKFLOW_SERVER_ADMIN_KEY
取消请求结果。
""
Show child attributes