Documentation Index
Fetch the complete documentation index at: https://docs.agipower.ai/llms.txt
Use this file to discover all available pages before exploring further.
Get PAYG Balance
Authentication
Authorization Header Required
- Name:
Authorization - Format:
Bearer <API_KEY> - Description: A Management API Key created in the AGIPower Console
Rate Limiting
Each endpoint has its own independent rate limit counter. The maximum number of requests per minute is configured at the platform level. Exceeding the limit returns a422 error.
Returns
data.currency string
Currency unit. Always "usd".
data.total_credits number
The account’s current total PAYG credit balance (USD).
data.top_up_credits number
Credits obtained through direct top-ups (USD).
data.bonus_credits number
Credits obtained through bonuses, gifts, or promotions (USD).
total_credits = top_up_credits + bonus_credits (minor floating-point differences may apply).