---
title: "List Alerts"
method: GET
path: "/api/v2/alerts"
tags: ["Alerts"]
---

# List Alerts

`GET /api/v2/alerts`

Retrieves alerts for the authenticated team (paginated). Results are capped at `limit` (default and maximum 1000). When more records exist than are returned, `meta.total` exceeds `data.length`; clients with large collections must page with `limit`/`offset` to retrieve them all.

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

Successfully retrieved alerts

- AlertsListResponse
  - `data` AlertResponse[], required — List of alert objects.
    - `dashboardId` string, nullable — Dashboard ID for tile-based alerts.
    - `tileId` string, nullable — Tile ID for tile-based alerts. Must be a line, stacked bar, or number type tile.
    - `savedSearchId` string, nullable — Saved search ID for saved_search alerts.
    - `groupBy` string, nullable — Group-by key for saved search alerts.
    - `threshold` number — Threshold value for triggering the alert. For between and not_between threshold types, this is the lower bound.
    - `thresholdMax` number, nullable — Upper bound for between and not_between threshold types. Required when thresholdType is between or not_between, must be >= threshold.
    - `interval` '1m' | '5m' | '15m' | '30m' | '1h' | '6h' | '12h' | '1d' — Evaluation interval.
    - `scheduleOffsetMinutes` integer, nullable — Offset from the interval boundary in minutes. For example, 2 with a 5m interval evaluates windows at :02, :07, :12, etc. (UTC).
    - `scheduleStartAt` string, date-time, nullable — Absolute UTC start time anchor. Alert windows start from this timestamp and repeat every interval.
    - `source` 'saved_search' | 'tile' — Alert source type.
    - `thresholdType` 'above' | 'below' | 'above_exclusive' | 'below_or_equal' | 'equal' | 'not_equal' | 'between' | 'not_between' — Threshold comparison direction.
    - `channel` AlertChannel
      - `type` 'webhook', required — Channel type.
      - `webhookId` string, required — Webhook destination ID.
    - `channels` AlertChannel[] — Notification channels to trigger when the alert fires or resolves. Between 1 and 10 channels; duplicates are rejected.
      - `type` 'webhook', required — Channel type.
      - `webhookId` string, required — Webhook destination ID.
    - `name` string, nullable — Human-friendly alert name.
    - `message` string, nullable — Alert message template.
    - `note` string, nullable — Freeform note for the alert. Supports markdown formatting.
    - `numConsecutiveWindows` integer, nullable — Fire the alert only after its condition has been met for this many consecutive evaluation windows. While the condition is met but fewer than this many consecutive windows have violated, the alert is in the PENDING state.
    - `id` string — Unique alert identifier.
    - `state` 'ALERT' | 'OK' | 'INSUFFICIENT_DATA' | 'DISABLED' | 'PENDING' — Current alert state.
    - `teamId` string — Team identifier.
    - `silenced` AlertSilenced — Silencing metadata.
      - `by` string, nullable — User ID who silenced the alert.
      - `at` string, date-time — Silence start timestamp.
      - `until` string, date-time — Silence end timestamp.
    - `executionErrors` AlertExecutionError[], nullable — Errors recorded during the most recent alert execution, if any.
      - `timestamp` string, date-time, required — When the error occurred.
      - `type` 'QUERY_ERROR' | 'QUERY_TIMEOUT' | 'WEBHOOK_ERROR' | 'INVALID_ALERT' | 'UNKNOWN', required — Category of error recorded during alert execution.
      - `message` string, required — Human-readable error message.
    - `createdAt` string, date-time, nullable — Creation timestamp.
    - `updatedAt` string, date-time, nullable — Last update timestamp.
  - `meta` PaginationMeta, required
    - `total` integer, required — Total number of items matching the query, ignoring pagination.
    - `limit` integer, required — Maximum number of items returned in this page.
    - `offset` integer, required — Number of items skipped before this page.

## Other responses

- `401` — Unauthorized
- `403` — Forbidden

## Changes

- **2026-08-21** `578ecc427dd8` — 1 info
  - added the optional property `data/items/allOf[#/components/schemas/Alert]/channels` to the response with the `200` status
- **2026-08-11** `0c6c6e744406` — 1 warning
  - added the new `QUERY_TIMEOUT` enum value to the `data/items/allOf[subschema #2]/executionErrors/items/type` response property for the response status `200`
- **2026-07-08** `6f4381730123` — 5 info
  - added the new optional `query` request parameter `limit`
  - added the new optional `query` request parameter `offset`
  - added the non-success response with the status `403`
  - the response property `data` became required for the status `200`
  - …1 more
- **2026-07-06** `e3a538a92f67` — 1 warning, 1 info
  - added the new `PENDING` enum value to the `data/items/allOf[subschema #2]/state` response property for the response status `200`
  - added the optional property `data/items/allOf[#/components/schemas/Alert]/numConsecutiveWindows` to the response with the `200` status
- **2026-05-13** `b3055248af4f` — 1 info
  - added the optional property `data/items/allOf[#/components/schemas/Alert]/note` to the response with the `200` status

[Full history](https://skmtc.dev/hyperdxio/apis/hyperdx-external-api/changes/api/v2/alerts/get.md)

---

[API](https://skmtc.dev/hyperdxio/apis/hyperdx-external-api.md) · [All operations](https://skmtc.dev/hyperdxio/apis/hyperdx-external-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hyperdxio/hyperdx-external-api/revisions/3399efdca551/schema)
