Alert Rules
List alert rules
Get a paginated list of alert rules for a given alert policy.
GET
/
{product}
/
alert-policies
/
{alertPolicyId}
/
alert-rules
Please be aware that the Phare API is currently in beta and is subject to change.
Authorizations
Authorization
string
headerrequiredUse 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
product
enum<string>
requiredThe Phare product
Available options:
uptime
alertPolicyId
integer
requiredID of the alert policy to retrieve alert rules for
Query Parameters
page
integer
default: 1Page number to show
per_page
integer
default: 20Number of ressources to return per page
Required range:
1 < x < 100
Response
200 - application/json
data
object[]
meta
object
Meta data for pagination
links
object
Links for pagination
Was this page helpful?