Skip to content

test_alert_rule

POST
/alert-rules/{id}/test
curl --request POST \
--url https://api.siteqwality.com/alert-rules/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/test \
--header 'Authorization: Bearer <token>'
id
required
string format: uuid

Alert rule id

Evaluation result

Media type application/json
object
value
number | null format: double
breaching
required
boolean
current_state
required
string
error
string | null
Example generated
{
"value": 1,
"breaching": true,
"current_state": "example",
"error": "example"
}

Not found