Create an alert rule
POST /alerts/rules
POST
/alerts/rules
Authorizations
Section titled “Authorizations ”Request Body required
Section titled “Request Body required ”object
id
integer format: int64
name
string
scope
System, app, or webhook
string
target
App slug or ”*”.
string
metric
string
operator
string
threshold
number
duration_seconds
integer
webhook_ids
Array<integer>
enabled
boolean
Responses
Section titled “ Responses ”Created.
object
id
integer format: int64
name
string
scope
System, app, or webhook
string
target
App slug or ”*”.
string
metric
string
operator
string
threshold
number
duration_seconds
integer
webhook_ids
Array<integer>
enabled
boolean