Get credit balance
Returns the workspace credit balance and billing configuration
billing:read scope.
All parameters, request/response schemas, and examples are auto-generated from the OpenAPI specification.Authorizations
API key authentication.
Keys start with ak_ prefix.
Example: Authorization: Bearer ak_live_xxxxxxxxxxxx
Path Parameters
Workspace identifier
Response
Credit balance and billing details
Current balance in microdollars (1 USD = 1,000,000 μ$)
Current balance in cents (computed)
Current balance in dollars (computed, string for precision)
"48.50"
Total credits ever purchased in microdollars
Total credits ever purchased in cents (computed)
Total credits ever consumed in microdollars
Total credits ever consumed in cents (computed)
Whether auto-reload is enabled
Whether a payment method is on file
Balance threshold triggering auto-reload
Balance threshold in cents (computed)
Target balance amount for auto-reload
Target balance amount in cents (computed)
Monthly BYOK request cap (null if unlimited)
Remaining BYOK requests this month