billing

GET /v1/orgs/:slug/billing/usage — live cost estimate (subscription + overage) for the current period, priced from our own meter.

get/v1/orgs/{slug}/billing/usage

Path parameters

slugstring required

Organization slug

Response

Cost estimate for the current period

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