Skip to main content
GET
Get a usage summary

Authorizations

Authorization
string
header
required

Organization API key (msb_…) - org-scoped programmatic access.

Response

Usage summary

Usage summary from the billing provider.

line_items
object[]
required

Period-aggregated breakdown - one entry per billable metric / charge.

period_end
string<date-time>
required
period_start
string<date-time>
required
total_cents
integer<int64>
required
daily
object[]

Per-day metered quantities for charting. One entry per (day, metric). Empty when no daily series is available (e.g. provider error).

projected_spend_cents
integer<int64>

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_gib
number<double> | null

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.