List all alerts

Returns a paginated list of all alerts accessible by the user, across all dashboards and explorations.

GET https://telemetry.betterstack.com/api/v2/alerts

Query parameters

page
integer
per_page
integer

Headers

Authorization
required string
200

Response body

{
  "data": [
    {
      "id": "789",
      "type": "alert",
      "attributes": {
        "dashboard_id": 123,
        "chart_id": 456,
        "name": "High Error Rate Alert",
        "alert_type": "threshold",
        "operator": "higher_than",
        "value": 100.0,
        "paused": false,
        "created_at": "2026-02-20T10:00:00Z",
        "updated_at": "2026-02-23T14:30:00Z"
      }
    },
    {
      "id": "790",
      "type": "alert",
      "attributes": {
        "exploration_id": 789,
        "name": "Anomalous CPU Usage",
        "alert_type": "anomaly_rrcf",
        "paused": false,
        "created_at": "2026-02-21T11:00:00Z",
        "updated_at": "2026-02-22T15:30:00Z"
      }
    }
  ],
  "pagination": {
    "first": "https://telemetry.betterstack.com/api/v2/alerts?page=1&per_page=2",
    "last": "https://telemetry.betterstack.com/api/v2/alerts?page=5&per_page=2",
    "prev": null,
    "next": "https://telemetry.betterstack.com/api/v2/alerts?page=2&per_page=2"
  }
}

Example request

cURL
curl --request GET \
     --url "https://telemetry.betterstack.com/api/v2/alerts" \
     --header "Authorization: Bearer $TOKEN"


Alert context

Each alert in the response includes context attributes to identify its source: - dashboard_id and chart_id for alerts on a dashboard chart. - exploration_id for alerts on an exploration.

The shape of the attributes object varies depending on the alert_type. For example, anomaly_rrcf alerts will include anomaly_sensitivity and anomaly_trigger instead of operator and value.