Skip to main content

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.

Endpoint

POST https://www.qingbo.dev/v1/tasks/{task_id}/cancel
Cancel a task in the queued state. Quota is automatically refunded.
Only tasks in the queued state can be cancelled. Tasks in the processing state have already started and cannot be cancelled.

Response

{
  "task_id": "task_xxx",
  "status": "cancelled",
  "refunded": true,
  "refunded_quota": 50000
}
FieldDescription
refundedWhether the quota was refunded
refunded_quotaAmount of quota refunded