Skip to main content

Check a rule without storing it

POST 

/alarm-rules/validation

Checks a rule definition and reports what it would watch: the hit set of the selector, the objects that drop out with their reason, and warnings about configurations that are legal but unlikely to be meant. Nothing is stored, and the rule does not need an id - this is what the editor asks before saving.

Request

Responses

OK