Alerts

Validate a composite alert condition

Parses and validates a composite alert's boolean expression over child alert IDs and returns the canonical form, resolved children, and an advisory result without persisting anything.

post/api/v2/{org_id}/alerts/composites/validate

Request

Path parameters

org_idstring required

Organization name

Request body

composite_idstring nullable

When editing an existing composite, its ID (so the graph check can exempt the composite being updated); None when validating a new definition.

folder_idstring nullable

Reserved and currently unused: validation does not read this field, so callers must not rely on it to scope or validate the composite.

Response

canonical_expressionstring nullable

Canonicalized form of the expression.

resultboolean nullable

Advisory evaluation result (null when indeterminate).

result_levelstring nullable

Advisory severity of the result.

validboolean required

Whether the expression is syntactically valid.

Changes

No recorded changes to this operation across all 1 revision of this API.