Skip to main content

`POST /v1/admin/properties/{id}/alert-rules`

POST 

/v1/admin/properties/:id/alert-rules

Alert rule.create.

Create a per-property custom alert rule (stat README §7). The request is validated against the known rule types, comparators, and metric vocabulary (400 on unknown); the property must exist in the target env (404). The INSERT runs in one explicit transaction with the RLS context set on the same connection (stat DESIGN §5).

Request​

Responses​

Rule created