Get credit balance
Read your organization’s current credit balance and billing cycle. Lets you observe your balance programmatically — including from async-only workloads — without making a sync /v1/monitor/* request just to inspect the X-Credits-Remaining header. The authoritative check is enforced when each task is charged.
Overview
Read your organization’s current credit balance and billing cycle. Use it to:- Read your balance programmatically: Get remaining credits without opening the dashboard
- Support async-only workloads: Observe your balance without making a billable sync
/v1/monitor/*request just to read theX-Credits-Remainingheader - Drive low-balance alerts: Notify your team before you run out
- Gate submissions: Pause task submission when the balance is too low to cover the next batch
Response fields
Example usage
Read your current balance
Low-balance alerts and a submission breaker
If you run an async-only workload, pollGET /v1/credits to alert on a low balance and to stop submitting before you run out — no need to make a billable sync request just to read your balance:
creditsCharged field on the task status response instead.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Response
Current credit balance and billing cycle.
Credits currently remaining for your organization.
48210
Credits granted per billing cycle. Null for free-tier organizations with no active subscription.
1562500
When the current billing cycle ends and credits reset. Null for free-tier organizations with no active subscription.
"2026-08-10T17:35:27.000Z"