GET
/
alert-rules
/
{alertRuleId}
curl --request GET \
  --url https://api.phare.io/alert-rules/{alertRuleId} \
  --header 'Authorization: Bearer <token>'
{
  "id": 1,
  "event": "uptime.monitor.created",
  "project_id": 1,
  "integration_id": 1,
  "rate_limit": 5,
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}
Please be aware that the Phare API is currently in beta and is subject to change.

Authorizations

Authorization
string
header
required

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

alertRuleId
integer
required

ID of the alert rule to show

Response

200
application/json

Success, alert rule retrieved

The response is of type object.