Create an alert rule
Create an alert rule for a given alert policy
Authorizations
Use a user token to access authenticated routes. The token must be specified in the Authorization HTTP header with the following format 'Authorization: Bearer <token>'.
Path Parameters
The Phare product
uptime
ID of the alert policy to create an alert rule for
Body
The ID of the integration used to send a notification when the alert rule is executed
Name of the event that will trigger the execution of the alert rule
uptime.monitor.created
, uptime.monitor.deleted
, uptime.incident.created
, uptime.incident.recovered
, uptime.incident_comment.created
, uptime.incident_update.published
Minimum time in minutes between two executions of the alert rule, used to minimized the number of alert received.
0
, 5
, 10
, 30
, 60
, 180
, 720
, 1440
Response
The ID of the integration used to send a notification when the alert rule is executed
Name of the event that will trigger the execution of the alert rule
uptime.monitor.created
, uptime.monitor.deleted
, uptime.incident.created
, uptime.incident.recovered
, uptime.incident_comment.created
, uptime.incident_update.published
Minimum time in minutes between two executions of the alert rule, used to minimized the number of alert received.
0
, 5
, 10
, 30
, 60
, 180
, 720
, 1440
Parent alert policy ID
Date of creation for the entity
Date of last update for the entity
Was this page helpful?