jobs
Cancel Job
Changed onCancel an in-flight job.
Routes a CancelRequest through the scheduler (the single writer of jobs / computation_node) and awaits the outcome — never writes the DB directly. The scheduler flips the job + its non-terminal nodes to cancelled, releases the concurrency lease, and interrupts in-flight worker executions.
Idempotent: cancelling an already-cancelled job is a 200 no-op; a completed / failed job is a 409 (you can't cancel a finished job); an unknown job — or one belonging to another org — is a 404.
post/v1/jobs/{job_id}/cancel
Request
- Base URLhttps://api.outerproduct.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
job_idstring uuid required
Response
Successful Response
Changes
- info
endpoint added
- info