v2
latestOpenAPI 3.1.02026-08-075421692.0 MBUsage
Get plan and usage snapshot (plan, limits, payment status)
The plan / quota / payment-status snapshot: current plan name, billing period, plan limits, usage counts, and access state. Identical to a bare GET /v1/usage call (this path is its deprecated alias). For billed spend by product, call GET /v1/usage with range / granularity params. The statement view (balance, credits, caps, payment status) lives at GET /v1/billing.
The response shape depends on the account's billingSystem:
- Stripe users: per-period usage.uploads / usage.profiles counters.
- Metronome (usage-based) users: usage.connectedAccounts, usage.xApiCallsByOperation (per-operation X API call counts — resolve keys via GET /v1/billing/x-pricing), plus a spend block with currentPeriodCents, xSpendCents, and xSpendLimitCents. The legacy usage.xApiCalls 3-tier aggregate is still emitted for back-compat but excludes the $0.200 URL tier and any future tiers — new clients should consume xApiCallsByOperation only.
get/v1/usage-stats
Query parameters
reconcileboolean
For Stripe subscription users, true forces a subscription reconciliation pass even when cached plan data looks complete. Omit the parameter, or pass false, to use the default first-time-only reconciliation behavior. Invalid boolean values are rejected.
Response
Usage stats
Example response
{
"usage": {
"xApiCallsByOperation": {
"posts_read": 42,
"content_create": 7,
"content_create_with_url": 3,
"dm_interaction_create": 1
}
}
}