To retrieve a given alert policy, send a GET request to /v2/monitoring/alerts/{alert_uuid}
Name | Type | Required | Description | Default Value |
---|---|---|---|---|
alert_uuid |
string | True | A unique identifier for an alert policy. |
import os
from pydo import Client
client = Client(token=os.environ.get("DIGITALOCEAN_TOKEN"))
resp = client.monitoring.get_alert_policy(alert_uuid="dfa8da")
See the API spec for this endpoint to view additional detail on responses, headers, parameters, and more.