Warehouse
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
POST |
List all warehouse alerts destinations
List the notification destinations of a warehouse alert.
Required API key scopes
alert:readexternal_data_source:readPath parameters
- idstring
Example request
GET /api /projects /:project_id /warehouse_alerts /:id /destinationsExample response
Status 200
RESPONSE
Create warehouse alerts destinations
Add a notification destination to a warehouse alert.
Required API key scopes
alert:writeexternal_data_source:writePath parameters
- idstring
Request parameters
- type
- event_kindsarrayDefault:
firing,resolved - slack_workspace_idinteger
- slack_channel_idstring
- slack_channel_namestring
- webhook_urlstring
- pagerduty_routing_keystring
- pagerduty_severityDefault:
critical - pagerduty_regionDefault:
us
Response
Example request
POST /api /projects /:project_id /warehouse_alerts /:id /destinationsExample response
Status 201
RESPONSE
Status 400 The destination settings are invalid.
Create warehouse alerts destinations delete
Delete notification destinations of a warehouse alert.
Required API key scopes
alert:writeexternal_data_source:writePath parameters
- idstring
Request parameters
- destination_idsarray
Example request
POST /api /projects /:project_id /warehouse_alerts /:id /destinations /delete




