Schemas
Account
idAccount ID.
nameconnectedWhether Bill.DO can access the DigitalOcean account, false once it needs to be reconnected in the Bill.DO dashboard.
imported_atWhen the first full import of the account finished, null while it is importing.
invoiced_up_toThe end of the last invoice period that was imported.
statsSpend in USD as last calculated by Bill.DO, about every hour. Null while spending reports are not available on the team's plan, or before the first calculation. Use the usage endpoint for figures calculated on request and per resource type or project.
created_atAlert
idAlert ID.
account_idID of the account the alert watches.
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).
type_namelimitThe limit in USD, the alert triggers once the current value exceeds it.
resourcesThe resource types whose spend counts towards the alert.
current_valueThe current value in USD of what the alert watches.
percentageThe current value as a percentage of the limit.
is_alarmingWhether the alert is triggered: the current value exceeded the limit and did not drop below it since. Recipients are emailed when this changes.
last_checked_atlast_state_change_atcreated_atCreateAlertRequest
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.
Invoice
idDigitalOcean invoice UUID.
periodThe month the invoice is for.
amountInvoiced amount in USD.
previewWhether this is a preview of the current month with the costs up to now instead of the final invoice.
urlLink to the invoice in the DigitalOcean control panel.
Project
idDigitalOcean project UUID.
namedescriptionpurposeenvironmentProduction, Staging or Development, null when not set.
is_defaultWhether this is the default project of the DigitalOcean team, which holds the resources not assigned to another project.
urlLink to the project in the DigitalOcean control panel.
statsSpend in USD of the project as last calculated by Bill.DO, about every hour. Null while the team's plan does not include the project filter, or before the first calculation.
created_atdeleted_atWhen Bill.DO noticed the project was removed from DigitalOcean, null while it exists.
Resource
typeapp, database, droplet, load_balancer, snapshot or volume.
idDigitalOcean ID of the resource, unique within its type.
nameregionDigitalOcean region slug, null for resources without a region.
project_idUUID of the DigitalOcean project the resource is assigned to.
tagsThe cost in USD, null when Bill.DO has no price for the size of the resource.
The specifications of the resource, which depend on its type.
created_atWhen the resource was created at DigitalOcean.
deleted_atWhen Bill.DO noticed the resource was removed from DigitalOcean, null while it exists.
Team
slugTeam slug, the value of the X-Chief-Team header.
nametimezoneTimezone of the team.
The plan limits of the team. A null limit is unlimited.
project_filterWhether the plan includes usage per project and filtering usage, history and resources on a project.
spending_reportsWhether spending reports (usage, history, projects and resources) are available, false while the monthly spend is above the plan limit.
can_create_alertsWhether another alert can be created within the plan limit.
UpdateAlertRequest
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.