Skip to main content
POST
Cancel a job
You are reading the docs of Galtea 5.10. Read this page in the latest version.

Authorizations

Authorization
string
header
required

API key authorization. Pass your API key in the Authorization header as a Bearer token. Both new (gsk_*) and legacy (gsk-) API keys are accepted, e.g. Authorization: Bearer gsk_... or Authorization: Bearer gsk-....

Path Parameters

jobId
string
required

The ID of the job to cancel

Response

Cancellation accepted. Either the job was queued and has been removed, or an in-flight job has been signalled to stop. Repeated cancels are idempotent and also return 200.

id
string

The job ID

state
enum<string>

Terminal state surfaced to the caller.

Available options:
cancelled