Alerts
Billing alerts email the members of the team that have access to an account when its spend exceeds a limit, and again once it drops below the limit.
List alerts
Create an alert
Create a billing alert on the account. It is checked right away and then every hour.
path Parameters
accountCreate an alert › Request Body
typeWhat the alert compares to its limit: hourly (current spend per hour), daily_actual (spend so far today), daily_predicted (predicted spend today), monthly_actual (spend so far this month) or monthly_predicted (predicted spend this month).
limitThe limit in USD, the alert triggers once the current value exceeds it.
resourcesThe resource types whose spend counts towards the alert: app, database, droplet, load_balancer, snapshot or volume.
Create an alert › Responses
Alert
Get an alert
Get one of the billing alerts of the account with its current value.
path Parameters
accountalertGet an alert › Responses
Alert
Update an alert
Change the type, limit or resource types of a billing alert. Fields left out keep their value. A changed alert is checked again right away.
path Parameters
accountalertUpdate an alert › Request Body
typeWhat the alert compares to its limit: hourly (current spend per hour), daily_actual (spend so far today), daily_predicted (predicted spend today), monthly_actual (spend so far this month) or monthly_predicted (predicted spend this month).
limitThe limit in USD, the alert triggers once the current value exceeds it.
resourcesThe resource types whose spend counts towards the alert: app, database, droplet, load_balancer, snapshot or volume.
Update an alert › Responses
Alert