GET /api/v1/billing
Returns a monthly usage summary for your account. Use this to track consumption, build invoices, and monitor quota.month query parameter is optional. It defaults to the current calendar month. Format: YYYY-MM.
Response shape
Fields
Top level
summary
quota_seconds
This is the authoritative usage view. Showpercent_consumed to clients as their usage gauge.
There is no free tier and no unlimited plan: every account is metered, and generation always consumes from the seconds bucket. When the bucket is exhausted (
over_quota: true), new launches and preset creation are rejected with 429 quota_exceeded until your quota is raised.
breakdown_by_ref
One entry per distinctexternal_ref value used this month. Useful for building per-client or per-project usage summaries.
Usage monitoring pattern
Poll/billing on a schedule to track quota burn and alert before exhaustion:
percent_consumed is clamped at 100 even if consumed_seconds slightly exceeds quota_seconds due to in-flight jobs completing after the soft cap.