Skip to main content
GET
Read available credits

Authorizations

Authorization
string
header
required

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

Query Parameters

pricing
enum<string>
default:legacy

Use current for the account purchase rate and four-decimal balances. Legacy preserves the historical 0.17 rate field and one-decimal balances for older CLI/MCP clients; it is not today's purchase price.

Available options:
legacy,
current

Response

Transactionally consistent Agent API credit balance

promotional
number
required
Required range: x >= 0Must be a multiple of 0.0001
purchased
number
required
Required range: x >= 0Must be a multiple of 0.0001
available
number
required
Required range: x >= 0Must be a multiple of 0.0001
credit_usd
string
required

Account purchase price with pricing=current; legacy balance reads retain 0.17 for compatibility. Not a wallet valuation.

Pattern: ^\d+\.\d{2}$
Example:

"0.15"