Skip to main content
GET
Get credit balance

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 the X-Credits-Remaining header
  • 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, poll GET /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:
Every task is checked against your live balance when it’s charged, so this read is a guardrail rather than a ledger. To attribute exact cost per task, use the creditsCharged field on the task status response instead.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Response

Current credit balance and billing cycle.

remaining
integer
required

Credits currently remaining for your organization.

Example:

48210

perCycle
integer | null
required

Credits granted per billing cycle. Null for free-tier organizations with no active subscription.

Example:

1562500

cycleResetsAt
string<date-time> | null
required

When the current billing cycle ends and credits reset. Null for free-tier organizations with no active subscription.

Example:

"2026-08-10T17:35:27.000Z"