billing

GET /v1/billing/usage — usage summary for the key's org.

Return billable usage for the organization.

get/v1/billing/usage

Response

Usage summary

period_endstring date-time required
period_startstring date-time required
projected_spend_centsinteger

End-of-period spend projection: total_cents linearly extrapolated over the billing period. Equals total_cents when the period can't be extrapolated (no future end, or zero elapsed). Never below total_cents.

storage_gibnumber double nullable

Current durable-storage usage (GiB) for the org, from the latest hourly reading. None when storage hasn't been sampled (juicefs-ops disabled or no volumes). Drives the storage allowance bar; cost is in line_items.

total_centsinteger required

Changes