DryRunAlertRule
Simulate a rule evaluation against current data without creating alerts
POST
/api/v1/alerting/dry-runOperation ID
DryRunAlertRuleSince
1.0Execution Mode
SynchronousAuth Context
Auth RequiredAuth Context
Send these values as request headers when calling this API.
AuthorizationstringRequiredBearer Token
X-Tenant-IDstringX-Tenant-ID
Request Inputs
application/jsonBody Fields
expressionStringRequiredPromQL expression to evaluate
Example: avg(cpu_usage_percent) > 90
durationStringRequiredDuration string for the for clause
Example: 5m
labelsLinkedHashMapRequiredKey-value labels attached to this resource
Example: (nested object)
evalTimestampStringRequiredTimestamp to use as evaluation point
Example: 2026-01-15T08:00:00Z
simulateHoursIntegerRequiredNumber of hours to simulate forward
Example: 24
Responses
200 OKChange History
This API has no change history records yet.
