Alerts
Backtest an anomaly detector over a time range without saving a rule.
Changed onReplays the metric against the same band the evaluator would use, returning the per-bucket band + which points would have fired. Powers the form's "would this have fired?" preview and the explorer band overlay. Read-only.
post/otel/alerts/preview
Request
- Base URL/api (relative, and the document was published on a file host, not at the API’s origin)
- AuthHTTP bearer
Request body
Example request
{
"end_time": "2025-10-12T12:15:47Z",
"start_time": "2025-10-12T12:15:47Z"
}Response
Per-bucket band + breach points
Example response
{
"points": [
{
"bucket": "2025-10-12T12:15:47Z"
}
]
}Changes
- breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status - breaking
removed the required property
extensionsfrom the response with the status
1 more change in this revision
- breaking