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.
Request
- Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
- URL: /api/otel/alerts/preview
- Auth: HTTP 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
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info
- warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status - warning
removed the optional property
from the response with the status
- warning