Cancel job
cancel_jobCancel a job the caller can access by its id (recovers a mistaken or duplicate submission). An API token can cancel any job in its organization, so an id from list_jobs may belong to a human teammate — cancel only a job the user explicitly identified. Only jobs still in PENDING state can be cancelled; a job already PROCESSING or COMPLETED returns an error — poll get_job first if unsure. Refunds the credit only if the job had not started processing.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| jobId | Yes |