Cancel a job
hydracept_cancel_jobRequest cancellation of one job. Use only when the user explicitly asks to cancel the job itself; stopping a local polling loop is not a cancellation. Returns whether the request was accepted, whether the job is already terminal, and the next action. Never promise that upstream provider work stopped or that already-incurred cost is refunded. Safe to retry: a terminal job reports its terminal state. Requires bearer key. Returns: Cancellation outcome envelope with job status, terminal flag, and next action. Errors: WORKSPACE_KEY_REQUIRED, NOT_FOUND, INVALID_ARGUMENT.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| job_id | Yes | Required job id to cancel. Use hydracept_jobs_find if the id is unknown. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||