Get month-to-date storage cost
Return the storage charge the caller’s company has accrued so far in the current billing month, alongside the quantities it is derived from.
cost is computed by the same code path that produces the invoice’s storage line item, so the two always agree: the month’s peak footprint is rounded up to whole GiB, free_gib is subtracted, and the remainder is billed at the published per-GiB monthly rate. Because the charge follows the peak rather than the current footprint, deleting files mid-month does not reduce it.
cost is 0 while the company stays within its allowance. For the current footprint in bytes and the free-tier cap, use GET /api/v3/storage.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
ISO 4217 code applied to cost
First day of the current billing month (UTC)
Storage charge accrued so far this month, in currency
Whole GiB billed: the month's peak rounded up, minus free_gib. 0 when within the allowance
x >= 0Storage allowance included at no charge, in GiB
x >= 0Highest storage footprint reached this month, in bytes. The charge follows the peak, not the current footprint — deleting files mid-month does not reduce it
x >= 0The same peak_bytes priced against the pay-as-you-go allowance, so a company on a larger plan can be shown what downgrading would cost. Identical to the top-level figures while every tier shares one allowance