Skip to content

Retry a failed run

POST
/api/v1/runs/{id}/retry

Creates a new pending attempt linked to the failed run after EXECUTE permission. Retry restarts from the beginning and is not resume behavior. Protected mutations require the session cookie and CSRF header.

id
required
string format: uuid

Failed run identifier.

Retry attempt accepted

Public durable run state and attempt lineage. Lease tokens and resolved datasource security are never exposed.

object
attempt

One-based attempt number.

integer format: int32
>= 1
availableAt

Earliest database time at which this attempt is eligible for claim.

string format: date-time
cancellationWarning

Mode-specific warning about sink state after cancellation.

string
nullable
committedWatermark

Incremental watermark committed only by successful finalization.

string
nullable
createdAt

Run creation timestamp in UTC.

string format: date-time
durationMillis

Elapsed execution time in milliseconds when reported.

integer format: int64
nullable
errorMessage

Credential-redacted failure detail.

string
nullable
executorIdentity

Worker identity assigned after claim.

string
nullable
finishedAt

Terminal completion timestamp in UTC.

string format: date-time
nullable
heartbeatAt

Most recent successful worker heartbeat in UTC.

string format: date-time
nullable
id

Run attempt identifier.

string format: uuid
jobDefinitionId

Owning job definition identifier.

string format: uuid
leaseUntil

Current claim expiry timestamp in UTC.

string format: date-time
nullable
previousRunId

Previous attempt in the retry chain.

string format: uuid
nullable
rowsProcessed

Rows processed by this attempt when reported.

integer format: int64
nullable
startedAt

Execution start timestamp in UTC.

string format: date-time
nullable
status

Durable lifecycle state.

string
Allowed values: PENDING RUNNING SUCCEEDED FAILED CANCEL_REQUESTED CANCELLED RETRY_SCHEDULED

Authentication is required or credentials are invalid.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference

The authenticated identity lacks the required permission.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference

The requested resource does not exist or is not visible.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference

The request conflicts with the current resource or run state.

RFC 7807 problem response. Dynamic detail text is credential-redacted.

object
detail
string
instance
string format: uri-reference
status
integer format: int32
title
string
type
string format: uri-reference