URL parameters
The unique identifier of the exploration to add the alert to.
Headers
Bearer $TOKEN
Body parameters
The name of the alert.
The type of alert. threshold for static values, relative for percentage changes, and anomaly_rrcf for ML-based anomaly detection.
The comparison operator. Required for threshold and relative alerts. For threshold: equal, not_equal, higher_than, higher_than_or_equal, lower_than, lower_than_or_equal. For relative: increases_by, decreases_by, changes_by. Not used for anomaly_rrcf alerts.
The numeric value for the alert condition. For threshold alerts, this is the static threshold. For relative alerts, this is the percentage change. Required for threshold and relative types. A value of 0 is valid.
An alternative to value for threshold alerts when matching an exact string. If string_value is set, value is ignored. Only for threshold alerts with equal or not_equal operators.
The sensitivity of the anomaly detection model, from 0 to 100. Higher values result in more alerts. Only for anomaly_rrcf alerts.
Defines which anomalies trigger an alert: any (both higher and lower), higher, or lower. Only for anomaly_rrcf alerts.
The time window in seconds for the data being analyzed.
The duration in seconds that a condition must be met before an alert is triggered. A value of 0 triggers the alert immediately.
The duration in seconds that a condition must be resolved before an incident is recovered.
How often to evaluate the alert condition, in seconds. Only for threshold and relative alerts.
The size of data buckets in seconds for aggregating and evaluating the metric.
An array of strings to filter the alert to specific data series.
The variable name for the source selection.
The mode for source selection (e.g., source_variable).
An array of platform names to filter the sources this alert runs on.
A custom description template for the incident created by this alert.
Whether a separate incident will be created for each data series that triggers the alert.
An object defining where to send notifications. Can be the current team, another team, or an escalation policy.
Enable phone call notifications. Only used if escalation_target is not a policy.
Enable SMS notifications. Only used if escalation_target is not a policy.
Enable email notifications. Only used if escalation_target is not a policy.
Enable push notifications. Only used if escalation_target is not a policy.
Enable critical push notifications that bypass Do Not Disturb. Only used if escalation_target is not a policy.
A key-value object for custom metadata to be included in incidents.
Set to true to create the alert in a paused state.
Required if using a global API token to specify which team should own the resource.