Get a single alert

Retrieves a single alert by its ID from any context (dashboard or exploration).

GET https://telemetry.betterstack.com/api/v2/alerts/{id}

URL parameters

id
required 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",
      "query_period": 300,
      "confirmation_period": 0,
      "recovery_period": 300,
      "aggregation_interval": 60,
      "series_names": [
        "error"
      ],
      "series_names_except": [],
      "source_mode": "source_variable",
      "source_platforms": [],
      "source_variable": "source:t123456_my_app",
      "incident_cause": "Error rate exceeded threshold",
      "incident_name": null,
      "incident_per_series": false,
      "additional_conditions": [],
      "variable_values": [],
      "created_at": "2026-02-20T10:00:00.000Z",
      "updated_at": "2026-02-23T14:30:00.000Z",
      "operator": "higher_than",
      "value": 100.0,
      "string_value": null,
      "on_missing_data": "dont_fire",
      "check_period": 60,
      "paused": false,
      "paused_reason": null,
      "escalation_target": {
        "policy_id": 123,
        "policy_name": "Critical Alerts Policy"
      },
      "metadata": {
        "environment": [
          "production"
        ],
        "runbook": [
          "https://wiki.example.com/runbooks/error-rate"
        ]
      }
    }
  }
}
404

Response attributes

id
string
type
string
attributes.dashboard_id
integer
attributes.chart_id
integer
attributes.exploration_id
integer
attributes.name
string
attributes.alert_type
string
attributes.query_period
integer or null
attributes.confirmation_period
integer
attributes.recovery_period
integer or null
attributes.aggregation_interval
integer or null
attributes.series_names
array
attributes.series_names_except
array
attributes.source_mode
string
attributes.source_platforms
array
attributes.source_variable
string or null
attributes.incident_cause
string or null
attributes.incident_name
string or null
attributes.incident_per_series
boolean
attributes.additional_conditions
array
attributes.additional_conditions[].alert_type
string
attributes.additional_conditions[].operator
string
attributes.additional_conditions[].value
number or null
attributes.additional_conditions[].string_value
string or null
attributes.additional_conditions[].series_names
array
attributes.additional_conditions[].series_names_except
array
attributes.variable_values
array
attributes.variable_values[].name
string
attributes.variable_values[].values
array
attributes.variable_values[].selected_label
string
attributes.created_at
string
attributes.updated_at
string
attributes.operator
string
attributes.value
number or null
attributes.string_value
string or null
attributes.on_missing_data
string
attributes.anomaly_sensitivity
number
attributes.anomaly_trigger
string
attributes.anomaly_training_range_days
integer
attributes.check_period
integer
attributes.call
boolean
attributes.sms
boolean
attributes.email
boolean
attributes.push
boolean
attributes.critical_alert
boolean
attributes.paused
boolean
attributes.paused_reason
string or null
attributes.escalation_target
object
attributes.escalation_target.policy_id
integer
attributes.escalation_target.policy_name
string
attributes.escalation_target.team_id
integer
attributes.escalation_target.team_name
string
attributes.metadata
object or null

Example request

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


Alert response shape

The response shape varies by alert_type. Threshold and relative alerts include operator, value, on_missing_data, and check_period, and threshold alerts also include string_value. Anomaly alerts include anomaly_sensitivity and anomaly_trigger instead. Dashboard alerts include dashboard_id and chart_id. Exploration alerts include exploration_id.

Threshold / Relative response Anomaly response
{
  "attributes": {
    "alert_type": "threshold",
    "operator": "higher_than",
    "value": 100,
    "string_value": null,
    "check_period": 300,
    "on_missing_data": "dont_fire"
  }
}
{
  "attributes": {
    "alert_type": "anomaly_rrcf",
    "anomaly_sensitivity": 5.0,
    "anomaly_trigger": "any",
    "anomaly_training_range_days": 7
  }
}