Get credit usage
Returns your organization’s credit utilization for a billing month (default: current month) or a custom date range, plus a per-agent consumption breakdown. Amounts are in whole credits.
In month mode the response includes allocation, remaining, and percentageUsed; the organization spent figure is authoritative and may differ slightly from the sum of agents[]. In range mode allocation, remaining, and percentageUsed are null, and organization spent equals the sum of per-agent spend.
Authorizations
Organization API key. Get it from the 11x team or from the platform.
Query Parameters
Billing month as YYYY-MM. Defaults to the current month. Must not be in the future. Mutually exclusive with startDate/endDate.
^\d{4}-\d{2}$"2026-05"
Start of a custom range as YYYY-MM-DD (inclusive, UTC). Requires endDate. Range cannot exceed 366 days.
End of a custom range as YYYY-MM-DD (inclusive, UTC). Requires startDate. Cannot be in the future.