Credits API
API calls and runs draw on credits. Buy credit packs on /developer (Choose a Credit Pack). Your balance, this month's use and your monthly cap are under Workspace → Usage.
Balance
GET /api/credits/balance, with a signed-in session token:
json
{
"balance": 1840,
"lifetimeEarned": 2500,
"lifetimeUsed": 660,
"recentTransactions": [ … ]
}What a call costs
Each POST /api/agents/execute response carries billing.creditsCharged and billing.creditBalance. Costs vary by agent and workflow complexity; /developer shows the Credit Consumption Reference and Rate Limits by Pack. When credits or quota run out, calls answer 402.
Monthly cap
A monthly spend cap stops runs once it is reached, until it is raised or cleared. "—" means no cap is set.