跳转到主要内容
POST
/
workflows
/
tasks
/
{task_id}
/
stop
Error
A valid request URL is required to generate request examples
{
  "result": "success"
}

授权

Authorization
string
header
必填

API-Key 鉴权。所有 API 请求都应在 Authorization HTTP Header 中包含你的 API-Key,格式为:Bearer {API_KEY}。强烈建议开发者把 API-Key 放在后端存储,而非客户端,以免泄露。

路径参数

task_id
string<uuid>
必填

任务 ID,可在流式返回 Chunk 中获取。

请求体

application/json
user
string
必填

用户标识,必须和执行 workflow 接口传入的 user 保持一致。

响应

200 - application/json

操作成功。

result
string
示例:

"success"