# Alert deliveries API

## GET /api/v1/admin/alert-deliveries

`GET /api/v1/admin/alert-deliveries` · operation `listAlertDeliveries`

Outbox rows, newest first. Retryable failures (network, timeout, HTTP 408/429/5xx) back off from 30 seconds doubling up to 1 hour, for at most 8 attempts; other 4xx and refused destinations fail at once. Each attempt sends the same Idempotency-Key (&lt;channel&gt;:&lt;alert&gt;).

**Authentication:** `adminSession`

**Parameters**

| Name | In | Type | Description |
|---|---|---|---|
| `channel_id` | query | string |  |
| `status` | query | string, one of `"pending"`, `"delivered"`, `"failed"` | Only pending, delivered or failed deliveries. |
| `limit` | query | integer, default `50`, min 1, max 99 | Most deliveries on this page, 1-99 (50 by default). |
| `offset` | query | integer, default `0`, min 0, max 10000 | Rows to skip before this page, for pagination (0-10000). |

**Responses**

| Status | Description | Body |
|---|---|---|
| `200` | Page of deliveries | `application/json`: object |
| `400` | Invalid input | `application/json`: [Error](/docs/api/schemas/e/#error) |
| `403` | Model not allowed | `application/json`: [Error](/docs/api/schemas/e/#error) |
| `404` | Feature disabled | `application/json`: [Error](/docs/api/schemas/e/#error) |

Response `200` fields:

- `application/json`: object
  - `items` (array of [AlertDelivery](/docs/api/schemas/a/#alertdelivery), required)
  - `has_more` (boolean, required)
  - `next_offset` (integer, required)


## POST /api/v1/admin/alert-deliveries/{channel}/{alert}/retry

`POST /api/v1/admin/alert-deliveries/{channel}/{alert}/retry` · operation `retryAlertDelivery`

Re-queue a failed delivery with a fresh attempt budget. Audited.

**Authentication:** `adminSession`

**Parameters**

| Name | In | Type | Description |
|---|---|---|---|
| `channel` | path | string, required |  |
| `alert` | path | string, required |  |
| `X-CSRF-Token` | header | string, required | Token returned by admin login/session; required with the same-origin session cookie for writes. |

**Responses**

| Status | Description | Body |
|---|---|---|
| `200` | Re-queued | — |
| `403` | Model not allowed | `application/json`: [Error](/docs/api/schemas/e/#error) |
| `404` | Feature disabled | `application/json`: [Error](/docs/api/schemas/e/#error) |
| `409` | Delivery is not failed | — |

