Account quota
GET /v1/account/quota returns the authenticated account's subscription quota windows and PAYG wallet balance for the API key.
Code examples
Bash
curl https://api.prismaticapi.com/v1/account/quota \ -H "Authorization: Bearer $PRISMATIC_API_KEY"
Response shape
Example response for a windowed plan with PAYG wallet credit. model_access (per-model request limits) is also returned and omitted here for brevity.
JSON
{
"object": "account.quota",
"plan": {
"name": "Pro",
"quota_mode": "WINDOWED",
"rate_limit_per_minute": 120
},
"windows": {
"five_hours": {
"limit": 1000,
"used": 120,
"reserved": 0,
"remaining": 880,
"reset_at": "2026-06-25T18:00:00Z"
},
"seven_days": {
"limit": 20000,
"used": 3400,
"reserved": 0,
"remaining": 16600,
"reset_at": "2026-06-30T09:00:00Z"
}
},
"daily": null,
"balance": {
"wallet_usd": "12.500000",
"currency": "USD"
},
"generated_at": "2026-06-25T12:00:00Z"
}Important fields
windows.five_hours/windows.seven_days— rolling subscription windows withlimit,used,reserved,remainingandreset_at.daily— returned instead ofwindowsfor daily-mode plans; otherwisenull.plan— plan name,quota_mode(WINDOWED,DAILYorUNLIMITED) andrate_limit_per_minute.balance.wallet_usd— PAYG wallet balance in USD, always present.plan,windowsanddailyarenullwhen the account has no active subscription.
Why it matters
- Poll before large jobs to confirm remaining quota and avoid
429responses. - Use
reset_atto schedule retries once an exhausted window rolls over. - Authenticate with the same API key used for generation; quota checks count toward your per-minute rate limit.