Skip to content

List alert rules

GET
/alerts/rules
curl --request GET \
--url https://your-server.example/api/alerts/rules \
--cookie session=<session>

Rules.

Media typeapplication/json
Array<object>
object
id
integer format: int64
name
string
scope

System, app, or webhook

string
target

App slug or “*”.

string
metric
string
operator
string
Allowed values: > < >= <= == !=
threshold
number
duration_seconds
integer
webhook_ids
Array<integer>
enabled
boolean

Example

[
{
"operator": ">"
}
]