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
headerrequired

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

product
enum<string>
required

The Phare product

Available options:
uptime
alertPolicyId
integer
required

ID of the alert policy to retrieve alert rules for

Query Parameters

page
integer
default: 1

Page number to show

per_page
integer
default: 20

Number 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