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.
取消仍处于 queued 或 running 的训练任务。返回 202 以及更新后的 job_id 与 status。
queued
running
409 Conflict
cancelled
POST /v1/jobs/:id/cancel
Authorization: Bearer <jwt-or-api-key>
202
{ "code": 0, "data": { "job_id": "jb_abc123def456", "status": "cancelled" }, "message": "" }
curl -s -X POST http://localhost:8001/v1/jobs/jb_abc123def456/cancel \ -H "Authorization: Bearer $PIN_API_TOKEN"
Was this page helpful?