Cancel a complex prediction that has not yet started executing.
Eligibility. Only jobs with status=pending are cancelable.
Anything else — running, completed, failed, already
canceled — returns 409 conflict. In-flight cancel ships with
the job queue migration.
Credits. Cancel refunds the full submission cost (25 credits) to the organization’s subscription bucket.
Cross-resource scoping: a non-complex job id returns 404.
Cost: write — burns rate + quota. Does not debit credits.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Successful Response
Complex prediction job envelope — pipeline status + typed result.
Opaque complex-prediction identifier (UUID).
"cccc3333-dddd-4444-eeee-555566667777"
Lifecycle state. pending → running → completed | failed. canceled is terminal and only reachable via POST /v1/complex-predictions/{id}/cancel on a still-pending job.
pending, running, completed, failed, canceled "pending"
ISO-8601 timestamp (UTC) when the job was submitted.
"2026-04-23T14:15:00+00:00"
Credits debited at submission for this job type.
25
Echo of the caller's submit body.
Polymorphic discriminator. Always complex_prediction.
"complex_prediction"ISO-8601 timestamp when execution started. null while pending.
ISO-8601 timestamp when the job completed successfully.
ISO-8601 timestamp when the job failed. null unless status=failed.
ISO-8601 timestamp when the job was canceled. null unless status=canceled.
Populated only when status=failed. Same shape as problem+json.
Complex-prediction output. null until status=completed.