Skip to main content

Reset Metrics

POST 

/api/v2/queue-admin/metrics/reset

DESTRUCTIVE — wipes Horizon's failed-job index plus the recent-job, monitored-job, and metric snapshots.

Requires the literal body {"confirm": "RESET"} — the UI gates this behind a typed-confirm modal; the server enforces the same so curl users can't bypass.

Useful after major queue/metric corruption or before a load test to ensure a clean baseline.

Authentication: Requires Bearer token.

Request

Responses

Successful response