Alerts
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE |
List all alerts list
Required API key scopes
alert:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /alertsExample response
Status 200
RESPONSE
Create alerts create
Required API key scopes
alert:writePath parameters
- project_idstring
Request parameters
- insightinteger
- namestring
- subscribed_usersarray
- threshold
- condition
- enabledboolean
- config
- calculation_interval
- snoozed_untilstring
- skip_weekendboolean
Response
Example request
POST /api /projects /:project_id /alertsExample response
Status 201
RESPONSE
Retrieve alerts retrieve
Required API key scopes
alert:readPath parameters
- idstring
- project_idstring
Response
Example request
GET /api /projects /:project_id /alerts /:idExample response
Status 200
RESPONSE
Update alerts update
Required API key scopes
alert:writePath parameters
- idstring
- project_idstring
Request parameters
- insightinteger
- namestring
- subscribed_usersarray
- threshold
- condition
- enabledboolean
- config
- calculation_interval
- snoozed_untilstring
- skip_weekendboolean
Response
Example request
PATCH /api /projects /:project_id /alerts /:idExample response
Status 200
RESPONSE
Delete alerts destroy
Required API key scopes
alert:writePath parameters
- idstring
- project_idstring
Example request
DELETE /api /projects /:project_id /alerts /:id