Skip to main content

Bulk Retry Failed Outbox Events

POST 

/api/ledger/outbox/retry

Re-queue failed outbox rows for another generation pass: their status resets to pending with a fresh retry budget and the drain worker is kicked. Only unresolved failures are re-queued — rows in other statuses, and failures already superseded by a newer event for the same source, are skipped silently, and the response reports how many rows were actually re-queued.

Not yet available to API tokens

This endpoint currently requires session authentication; Personal Access Token scope support is in progress.

Authentication: Requires Bearer token with the accounting sync permission.

Body — one of two shapes:

  • { "ids": [1, 2, 3] } — retry an explicit selection (required without apply_to_all).
  • { "apply_to_all": true, "filters": { ... } } — retry every failed row matching the given filter set. filters accepts the same columns as List Outbox Events (bare column keys, e.g. {"source_type": "..."}), plus a filter_groups tree.

Note: unlike Retry Outbox Failures, an empty selection retries nothing.

Request

Responses

OK

Response Headers
    Content-Type