Skip to main content
POST
Evaluate alert rules

Authorizations

Authorization
string
header
required

Use an Observe API key from the management console. The key selects the project and must grant the permission listed on the operation. Keep this key on your server.

Body

application/json
alertRuleID
string

Evaluate only this rule (format aru-<number>). Omit it, or omit the body entirely, to evaluate every active rule of the project.

Response

Alert evaluation completed.

evaluated
integer
required

How many rules were evaluated successfully. Rules that were skipped because they are paused are not counted, and neither are rules whose evaluation failed - a failure is recorded as that rule's health and is readable on the rule itself, because one broken rule must not fail a run the rest of which worked.