Retrieves all usage-based alerts configured for a specific subscription. Use this endpoint to monitor and manage billing alerts across different consumption thresholds.
Use the /v1/oauth2/token endpoint to obtain an access token and pass it as a Bearer token in the Authorization header.
Unique external identifier for the subscription. This ID is used to track the subscription across systems and must be provided to access subscription-specific alerts.
"SUB_1752779018503"
Successfully retrieved the collection of alerts configured for the specified subscription.
List of alerts
[
{
"id": "alert_01H3YT8P7Q5R3S1T2U0V4W9X8",
"external_subscription_id": "sub_external_12345",
"type": "CURRENT_USAGE_AMOUNT",
"code": "current_usage_monetary_alert",
"name": "Monetary Usage Alert",
"previous_value": 1000,
"last_processed_at": "2025-05-19T10:04:21Z",
"thresholds": [
{
"code": "warn",
"recurring": false,
"value": "99.0"
}
],
"created_at": "2025-04-20T10:00:00Z"
}
]