POST
/
completion-messages
/
{task_id}
/
stop
{
  "result": "success"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

task_id
string
required

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

Body

application/json

Response

200 - application/json

操作成功。

The response is of type object.