Billing
Invoices, month-to-date usage, forecasts and the public price catalog.
List invoices
Lists your account's invoices, newest first. account_id is your account ID (the properties.nimbuzAccountId claim in your JWT).
query Parameters
account_idYour account ID (JWT claim properties.nimbuzAccountId).
period^\d{4}-\d{2}$Billing month, YYYY-MM.
typelimitoffsetList invoices › Responses
A page of invoices.
successGet an invoice
Download invoice PDF
Returns a short-lived pre-signed URL for the invoice PDF. Fetch the URL without
the Authorization header.
path Parameters
invoice_idquery Parameters
downloadtrue to download as an attachment; otherwise the PDF opens inline.
Download invoice PDF › Responses
Pre-signed URL.
urlexpires_inSeconds until the URL expires.
Month-to-date usage and cost
Usage and cost for the current billing cycle, grouped by project, environment or deployment.
query Parameters
account_idYour account ID (JWT claim properties.nimbuzAccountId).
group_byproject_idenvironment_iddeployment_idMonth-to-date usage and cost › Responses
Cost rows.
successCost forecast
Projected end-of-cycle cost based on recent hourly run rates.
query Parameters
account_idYour account ID (JWT claim properties.nimbuzAccountId).
group_byproject_idenvironment_iddeployment_idCost forecast › Responses
Forecast.
success
