Usage Summary
Detailed usage for the active account — current-period totals (current billing cycle), lifetime totals, plan limits, and a per-resource exceeded map for the dashboard's "you're at 87% of your bandwidth quota" warnings. Also returns the resolved billing-period boundaries so clients can render "X days left in this cycle".
Counts are computed live from the database, and each one is the count its limit is enforced on: reserved endpoints (the max_endpoints count; ephemeral endpoints are reported apart, they have their own quota), online plus quota-paused tunnels (the max_tunnels count; an offline tunnel takes no slot), plus the aggregated bandwidth and request counters from the metering pipeline.
Response (200 OK)
uuid of the active account whose usage this is (usage is an account property, shared across members).free, team, enterprise, …).plan_limits, under this endpoint's own names: max_endpoints, max_tunnels, max_connections, bandwidth_limit (= max_bandwidth, bytes) and request_limit (= max_requests). -1 means unlimited (0 means none). For every other quota read plan_limits on /account/plan.endpoints (reserved endpoints — the count max_endpoints caps, endpoints paused over the limit included), ephemeral_endpoints (live ephemeral endpoints — their own quota, never counted in endpoints), tunnels (online tunnels plus tunnels paused over the limit — the count max_tunnels caps; an offline tunnel isn't counted), bandwidth_used (bytes — sum of in+out), requests_used (count).bandwidth (bytes), requests.start, end as RFC 3339 datetimes (null until the account has usage). Resets when the subscription anniversary rolls.endpoints, tunnels, bandwidth, requests, computed from current against limits. true means the account is at or beyond the limit. Useful for showing "upgrade now" CTAs without re-doing the math client-side.Deprecated: until the sunset this response also carries the legacy integer account_id. Don't use it; read account_uuid.
Errors
Notes
Bandwidth values are bytes here, not megabytes — divide by 1024² for MB. limits.bandwidth_limit is in bytes too, so it compares directly with current.bandwidth_used.