Get Billing Info
Returns credits remaining, credits used, and subscription status for the organization. The organization is automatically determined from the API key. Only organization-scoped API keys are supported.
Authorizations
API Key Authentication. It should be included in the header of each request.
Query Parameters
Tenant scope. Supply one of organization_id when authenticating with a user session or OAuth bearer token; omit when using an API key already scoped to the tenant.
Response
Date the current credit balance expires (null if no expiry is set).
Example: 2026-06-23T10:00:00Z
Organization ID this billing record belongs to.
Example: 37
Credits currently available to spend on runs and calls.
Example: 7436.08
Total credits consumed across all non-refunded transactions on this billing record.
Example: 36462.14
Credits granted by the current pack at the start of the billing period (before any usage).
Example: 50000.00
Current subscription state for the org plus the active pack's max-allowed plan caps. status is one of active, trial, expired, inactive. days_until_expiry is negative when expire_at is in the past. Nested pack caps are the plan's ceilings — the org's currently configured limits may be lower. All fields are null/false when there is no active subscription.
Example:
When this billing record was first created.
Example: 2024-01-15T10:30:00Z
When this billing record was last modified.
Example: 2026-05-12T14:25:30Z