Get Credit Usage
Billing view of the organization’s credit consumption, broken down by billable operation and by day, with rate-card pricing.
Requires an org-scoped API key — credit usage is an organization-level concern. User-scoped keys receive a 403.
If rate-card pricing can’t be resolved for every observed operation, pricing_available is false and all credit fields are null; raw request counts are still returned.
Authorizations
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Query Parameters
Inclusive range start (YYYY-MM-DD).
^\d{4}-\d{2}-\d{2}$"2026-06-01T00:00:00.000Z"
Inclusive range end (YYYY-MM-DD).
^\d{4}-\d{2}-\d{2}$"2026-06-30T00:00:00.000Z"
IANA timezone for day boundaries (default UTC), e.g. America/New_York.
Response
Credit usage for the requested range
Inclusive range start.
Inclusive range end.
IANA timezone used for day boundaries.
Whether rate-card pricing could be resolved for every observed operation. When false, all credit fields are null and only raw request counts are returned.
Total credits across all operations over the range. Null when pricing is unavailable.
Per-operation usage and credit totals over the range.
Daily usage buckets across the full range (days with no usage have an empty usage object).