Skip to main content
Manage budget alerts and configure alert preferences for infrastructure spending.

Get Budget Alerts

Get all alerts for a specific budget

Endpoint

GET /v1/alerts/budgets/{budget_id}

Path Parameters

string
required
Budget ID to get alerts for.

Response

Get Alert Preferences

Get user alert preferences

Endpoint

GET /v1/alerts/preferences

Query Parameters

string
Budget ID (optional, for budget-specific preferences). If not provided, returns global preferences.

Response

Update Alert Preferences

Update user alert preferences

Endpoint

POST /v1/alerts/preferences

Request Parameters

string
required
User ID (must match authenticated user).
string
Budget ID for budget-specific preferences. If not provided, sets global preferences.
boolean
Enable email alerts.Default: true
string
Webhook URL for alert notifications (optional).
object
Custom alert thresholds.Properties:
  • warning - Warning threshold percentage
  • critical - Critical threshold percentage

Response