Query parameters
Team to use, such as t123. Get the ID via List teams. Required when you can access more than one team.
Headers
Bearer $TOKEN
application/json
Body parameters
ID of the alert to replay. Settings you send override it for this replay only. Get the IDs via List chart alerts.
Dashboard of the chart to replay a new alert on, with chart_id. Get the IDs via List dashboards.
Chart to replay a new alert on, with dashboard_id. Get the IDs via List charts.
Exploration to replay a new alert on. Get the IDs via List explorations.
Start of the window to replay, as now-3h, now-7d, an ISO 8601 time or a Unix timestamp. An ISO 8601 time without a zone is read in your time zone when you sign in with OAuth, or in UTC with an API token. Defaults to 24 hours before end_time. At most 7 days are replayed.
End of the window to replay, in the same forms as start_time. Defaults to now.
Alert type, as on create. Required for a new alert.
Valid values:threshold: Fires when the value crosses a threshold.relative: Compares the value with the previous period as a percentage change.anomaly_rrcf: Uses machine learning anomaly detection. Table charts don't accept it.
How the value is compared, as on create. Required for a new threshold or relative alert.
Valid values:equal: A threshold alert fires when the value equals value or string_value.not_equal: A threshold alert fires when the value differs from value or string_value.higher_than: A threshold alert fires when the value is above value.higher_than_or_equal: A threshold alert fires when the value is at or above value.lower_than: A threshold alert fires when the value is below value.lower_than_or_equal: A threshold alert fires when the value is at or below value.increases_by: A relative alert fires when the value rises by value percent or more.decreases_by: A relative alert fires when the value falls by value percent or more.changes_by: A relative alert fires when the value rises or falls by value percent or more.
Threshold value, or the percentage for a relative alert.
Value to compare a string series with.
Significance of an anomaly_rrcf alert, 1 to 10. A higher value needs a larger deviation, so it fires less often.
Which anomalies an anomaly_rrcf alert fires on.
Valid values:any: Fires on values above or below the prediction.higher: Fires on values above the prediction.lower: Fires on values below the prediction.
Seconds the condition must hold before an incident opens.
Seconds the condition must be clear before an incident closes.
Seconds a relative alert compares against.
Seconds between checks.
Seconds per data point the alert evaluates.
What a check does when the query returns no data. Anomaly alerts don't accept it.
Valid values:treat_as_zero: Checks the missing data as if the value were 0.dont_fire: Starts no incident for missing data.treat_as_previous: Checks the missing data as if it had the previous value.start_incident: Starts an incident when the query returns no data.
Replay only these series. Can't be combined with series_names_except.
Replay every series except these.
Extra conditions combined with the alert's own, as on create. The replay fires only where a series meets every condition that covers it. For an existing alert, the conditions you send replace its own for the replay. Send [] to replay it without them.
The type of the condition, threshold or relative.
The comparison the condition makes, from the same values as operator.
Threshold value.
Threshold value for a string series.
The series the condition is limited to. An empty list means every series.
The series the condition ignores while it watches every other series.