---
title: "List alerts"
method: GET
path: "/v1/alert"
tags: ["Alerts"]
---

# List alerts

`GET /v1/alert`

## Query parameters

- `device_id` string — ID of a device
- `agent_id` string — ID of an agent
- `resolved` boolean — Whether the alert has been resolved
- `offset` integer
- `limit` integer
- `sort_by` 'created'
- `sort_asc` boolean
- `created_after` string, date-time
- `created_before` string, date-time

## Response `200`

OK

- object — Paginated response
  - `data` Alert[], required — List of alerts
    - `agent_id` string — ID of an agent
    - `alert_fields` string, required — Unstructured fields specific to the alert type
    - `alert_id` string, required — ID of an alert
    - `alert_type` 'device_not_checking_in' | 'device_out_of_date' | 'device_storage_not_healthy' | 'device_storage_space_low' | 'device_storage_space_critical' | 'agent_not_checking_in' | 'agent_not_backing_up' | 'agent_backup_failed' | 'agent_duplicate_connection', required — Type of the alert
    - `created_at` string, date-time, required — Creation timestamp
    - `device_id` string — ID of a device
    - `resolved` boolean, required — Whether the alert has been resolved
    - `resolved_at` string, date-time — Timestamp at which an alert was resolved
    - `resolved_by` string — Name of the person who resolved the alert, or "auto" if resolved automatically
  - `pagination` Pagination, required
    - `next_offset` integer — Next offset to use for pagination. If this field is not present, that indicates there are no more items to fetch.

## Other responses

- `400` — Bad request
- `401` — Unauthorized
- `500` — Internal server error

---

[API](https://skmtc.net/slide/apis/slide-api.md) · [All operations](https://skmtc.net/slide/apis/slide-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/slide/slide-api/revisions/c63e4b604dd1/schema)
