Replay a dead-lettered automation job or trigger delivery
Re-enqueues one dead entry, where `kind` selects a failed step `job` or an inbound trigger `delivery`; a job is replayed with the original run's node context restored. Requires the `automations:write` permission plus edit access to the owning automation; an id that is not currently dead is rejected with a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.
Authorization
apiKey Workspace API key created in Workspace settings → API keys. Scopes on the key bound what it can read and write.
In: header
Path Parameters
Value in
- "job"
- "delivery"
Response Body
application/json
application/json
application/json
curl -X POST "https://example.com/v1/workspaces/string/automation-dead-letters/job/string/replay"{ "data": { "id": "string", "kind": "job", "status": "replayed", "run": { "id": "string", "automationId": "string", "automationVersionId": "string", "workspaceId": "string", "status": "queued", "source": "manual", "startedAt": "string", "completedAt": "string", "triggerPayload": {}, "output": {}, "error": "string", "metadata": {}, "startNodeId": "string", "replayOfRunId": "string", "nodeRuns": [ { "id": "string", "runId": "string", "nodeId": "string", "nodeKind": "string", "scopeKey": "string", "status": "queued", "attempt": 0, "input": {}, "output": {}, "error": "string", "startedAt": "string", "completedAt": "string" } ] } }}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}{ "_tag": "ApiNotFound", "error": "not_found", "message": "That item does not exist, or this key cannot see it.", "status": 404}List dead-lettered automation jobs and trigger deliveries
Returns the workspace's dead automation jobs and dead trigger deliveries with their attempt counts and last error. Requires the `automations:read` permission in the workspace. Pass `limit` to change the page size (default 50, capped at 200) and `includeAcknowledged=true` to keep entries that have already been acknowledged.
Acknowledge a dead-lettered job or trigger delivery
Marks one dead entry as acknowledged so it drops out of the default dead-letter list, without retrying it. Requires the `automations:write` permission plus edit access to the owning automation; an id that is not currently dead is rejected with a validation error. Send an `Idempotency-Key` header to make retries safe; a replay within the window returns the original response.