Re-queue a failed outbox row
POST /admin/federation/outbox/{id}/requeue
Resets a failed row to status=queued + attempts=0 + next_ attempt_at=NOW(). The delivery worker picks it up on the next LISTEN/NOTIFY wake (sub-100ms in the happy path).
Refuses (409) if the row is NOT in status=failed — re- queuing a queued row is a no-op race; re-queuing a sent row would duplicate-deliver. The admin UI’s confirmation prompt SHOULD warn before re-queueing rows whose last_error references a non-retriable §12.1 reason (unknown_object, sig_invalid, encryption_required, etc.) since those will fail again — see the design proposal §3.4 retriable-flag mapping.
Emits federation.outbox.requeued audit event.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Responses
Section titled “ Responses ”Row re-queued; the updated outbox state.
One row in the per-recipient federation_outbox queue . Derived from the activities ledger by the dispatcher per design §3.1; delivered by the worker per §3.3. The admin UI surfaces queued / sent / failed / cancelled rows for operator visibility into outbound federation traffic.
object
Per-recipient actor URL within the peer; null = broadcast.
Delivery attempt count (caps at 5 before terminal-fail).
Wall-clock time of the next attempt per the §3.4 backoff schedule.
Failure detail captured on the most recent attempt. For failed rows, may carry a §12.1 reject reason from the receiver — the admin UI maps these to retriable / non-retriable warnings on the re-queue confirmation prompt.
HTTP-Sig keyId used on the successful delivery (forensics).
Authentication required, missing, or invalid
object
Human-readable error summary
Example
the request could not be completedExample
{ "error": "authentication required: sign in and retry with a valid session or API token"}Authenticated but missing required capabilities
object
Human-readable error summary
Example
the request could not be completedOutbox row not found.
object
Human-readable error summary
Example
the request could not be completedRow not in status=failed (idempotency guard).
object
Human-readable error summary
Example
the request could not be completed