跳转到主要内容

Documentation Index

Fetch the complete documentation index at: https://docs.qingbo.dev/llms.txt

Use this file to discover all available pages before exploring further.

端点

POST https://www.qingbo.dev/v1/tasks/{task_id}/cancel
取消一个处于 queued 状态的任务,配额自动退还。
只有 queued 状态的任务可以取消。processing 状态的任务已经开始处理,无法取消。

响应

{
  "task_id": "task_xxx",
  "status": "cancelled",
  "refunded": true,
  "refunded_quota": 50000
}
字段说明
refunded是否已退还配额
refunded_quota退还的配额数量