DigitalOcean-public.v2-new_Monitoring
Retrieve an Existing Alert Policy
To retrieve a given alert policy, send a GET request to /v2/monitoring/alerts/{alert_uuid}
get/v2/monitoring/alerts/{alert_uuid}
Path parameters
alert_uuidstring required
A unique identifier for an alert policy.
Response
An alert policy.
Example response
{
"policy": {
"alerts": {
"email": [
"bob@exmaple.com"
],
"slack": [
{
"channel": "Production Alerts",
"url": "https://hooks.slack.com/services/T1234567/AAAAAAAA/ZZZZZZ"
}
]
},
"compare": "GreaterThan",
"description": "CPU Alert",
"enabled": true,
"entities": [
"192018292"
],
"tags": [
"droplet_tag"
],
"type": "v1/insights/droplet/cpu",
"uuid": "78b3da62-27e5-49ba-ac70-5db0b5935c64",
"value": 80,
"window": "5m"
}
}