---
title: "List open backup alerts."
method: GET
path: "/backups/alerts"
tags: ["Backups"]
---

# List open backup alerts.

`GET /backups/alerts`

## Request

- Base URL: `/api` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/backups/alerts`
- Auth: HTTP bearer

Returns all alerts that have not yet been resolved, ordered by `opened_at`
descending (newest first). The UI renders these as a banner above the
Backups page content. Alerts are auto-opened by the watcher and
auto-resolved when the triggering condition clears.

**Schedule overdue** — the backup scheduler did not enqueue a job within
the expected window (1 hour past `next_run`). Usually means the scheduler
task is dead or wedged.

**Job stalled** — a `backup_jobs` row has been in `state='pending'` for
more than 1 hour. The runner never claimed the job. Usually means the
runner task is dead or the runner concurrency cap is too low.

## Response `200`

List of open backup alerts

- BackupAlertListResponse: Response body for the list-backup-alerts endpoint.
  - `alerts` BackupAlertResponse[], required: All currently open (unresolved) alerts, newest first.
    - `id` integer, required: Database id of the alert row.
    - `kind` string, required: `"overdue_schedule"` or `"stalled_job"`.
    - `message` string, required: Human-readable description of the alert condition.
    - `opened_at` string, required: RFC 3339 timestamp when the alert was opened.
    - `schedule_id` integer, nullable: FK to `backup_schedules.id`. Set for `overdue_schedule` alerts.
    - `schedule_name` string, nullable: Human-readable name of the linked schedule, if applicable.
    - `schedule_s3_source_id` integer, nullable: FK to `backup_schedules.s3_source_id`. The UI uses this to deep-link the alert to the S3 source detail page that hosts the schedule. Set for `overdue_schedule` alerts.
    - `severity` string, required: `"warning"` or `"critical"`.

## Other responses

- `401`: Unauthorized
- `403`: Insufficient permissions
- `500`: Internal server error

## Changes

- **2026-11-09** `12896146b193`: 3 breaking
  - removed the required property `extensions` from the response with the `401` status
  - removed the required property `extensions` from the response with the `403` status
  - removed the required property `extensions` from the response with the `500` status
- **2026-10-05** `4b228ebed583`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-10-05** `63a80791dc58`: 3 warning
  - removed the optional property `status` from the response with the `401` status
  - removed the optional property `status` from the response with the `403` status
  - removed the optional property `status` from the response with the `500` status
- **2026-09-23** `f4efc4d5c7b7`: 3 info
  - added the optional property `status` to the response with the `401` status
  - added the optional property `status` to the response with the `403` status
  - added the optional property `status` to the response with the `500` status
- **2026-09-07** `943f7f929e7c`: 1 info
  - added the non-success response with the status `403`

[Operation history](https://skmtc.dev/gotempsh/apis/temps/changes/backups/alerts/get.md)

---

[API](https://skmtc.dev/gotempsh/apis/temps.md) - [All operations](https://skmtc.dev/gotempsh/apis/temps/llms.txt) - [OpenAPI document](https://skmtc.dev/gotempsh/apis/temps/revisions/3b040526eb43?raw)
