Record a failure on a running job
POST /jobs/{id}/fail
POST
/jobs/{id}/fail
If terminal=true the job goes straight to status=failed and
will not be retried. Otherwise the job returns to pending
unless its attempts count reached max_attempts.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” id
required
string format: uuid
Request Body required
Section titled “Request Body required ”object
worker_id
required
string
error
required
string
terminal
boolean
Responses
Section titled “ Responses ”Failure recorded
Authentication required, missing, or invalid
object
error
required
Human-readable error summary
string
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Lease lost