Get current quota utilization
/api/v2/billing/quotaAuthorizationBearer token (Anlyon API key) · headerrequiredWorkspace API key sent as Authorization: Bearer <key>.
better-auth.session_tokenAPI key · cookierequiredBrowser session used by dashboard-only operations.
X-Request-IdstringOptional caller correlation ID. Unsafe or oversized values are replaced.
Current quota utilization returned.
successbooleanrequiredtruedataobjectrequiredShow propertiesHide properties
allowancesBillingAllowancesShow propertiesHide properties
actionInvokesBillingUsageAllowanceShow propertiesHide properties
includedUnitsinteger | nullgraceCapUnitsinteger | nullWhere usage is refused. The allowance plus 10% for governed actions on a paid plan.
usedUnitsintegeroverageUnitsintegerreservedUnitsintegerprojectedOverageCentsnumbermessagesBillingUsageAllowanceShow propertiesHide properties
includedUnitsinteger | nullgraceCapUnitsinteger | nullWhere usage is refused. The allowance plus 10% for governed actions on a paid plan.
usedUnitsintegeroverageUnitsintegerreservedUnitsintegerprojectedOverageCentsnumberstorageBillingUsageAllowanceShow propertiesHide properties
includedUnitsinteger | nullgraceCapUnitsinteger | nullWhere usage is refused. The allowance plus 10% for governed actions on a paid plan.
usedUnitsintegeroverageUnitsintegerreservedUnitsintegerprojectedOverageCentsnumberbandwidthBillingUsageAllowanceShow propertiesHide properties
includedUnitsinteger | nullgraceCapUnitsinteger | nullWhere usage is refused. The allowance plus 10% for governed actions on a paid plan.
usedUnitsintegeroverageUnitsintegerreservedUnitsintegerprojectedOverageCentsnumbermonthlyFeeCentsnumberprojectedOverageCentsnumberactionInvokesBillingUsageAllowanceShow propertiesHide properties
includedUnitsinteger | nullgraceCapUnitsinteger | nullWhere usage is refused. The allowance plus 10% for governed actions on a paid plan.
usedUnitsintegeroverageUnitsintegerreservedUnitsintegerprojectedOverageCentsnumberactionAllowanceBillingActionAllowanceThis usage month's governed actions. Actions run to graceCap (the allowance plus 10%, plus action packs) and are then refused with QUOTA_EXCEEDED; nothing past the allowance is charged.
Show propertiesHide properties
includedinteger | nullrequiredThe plan's allowance. Null when nothing caps actions (Enterprise).
creditsintegerrequiredAction-pack actions this month can use, those already drawn for it plus what is left unexpired. Packs are valid for 12 months and used after the plan allowance.
graceCapinteger | nullrequiredWhere actions are refused. Null when uncapped.
usedintegerrequiredActions run or reserved this month.
paymentRequiredbooleanrequiredTrue when the workspace has no plan and actions answer 402.
functionRunsFunctionRunUsageHosted function runs this UTC month and running now, against the plan's limits.
Show propertiesHide properties
usedintegerrequiredrunningintegerrequiredlimitsFunctionRunLimitsrequiredHosted function runs a plan allows. A run's own action calls count as governed actions, not here.
Show propertiesHide properties
runsPerMonthQuotaLimitrequiredRuns started in a UTC month.
concurrentRunsQuotaLimitrequiredRuns going at the same time across the workspace.
runStartsPerMinuteQuotaLimitrequiredRuns started in any 60 seconds.
availablebooleanrequiredWhether this deployment serves hosted functions yet.
projectedOverageCentsnumberplanstringrequiredfreestarterpaygoenterpriseproductiongrowthdailyQuotaDimensionrequiredShow propertiesHide properties
usedintegerrequiredlimitQuotaLimitrequiredShow propertiesHide properties
integerstringpercentageintegerrequiredmonthlyQuotaDimensionrequiredShow propertiesHide properties
usedintegerrequiredlimitQuotaLimitrequiredShow propertiesHide properties
integerstringpercentageintegerrequiredbandwidthQuotaDimensionrequiredShow propertiesHide properties
usedintegerrequiredlimitQuotaLimitrequiredShow propertiesHide properties
integerstringpercentageintegerrequiredUnauthorized - Invalid or missing API key
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Authenticated credential lacks the required scope or workspace access.
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.
Too Many Requests - Rate limit exceeded. A workspace's API requests are limited per minute and per UTC clock hour by plan; Retry-After says when to try again, and an hourly refusal names the limit and when the count resets. Successful responses carry the same limits in X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Reset (the minute) and X-RateLimit-Limit-Hour, X-RateLimit-Remaining-Hour, X-RateLimit-Reset-Hour (the hour).
successbooleanrequiredrequestIdstringrequiredCorrelation ID matching the X-Request-Id response header.
errorobjectrequiredShow propertiesHide properties
codestringmessagestringdetailsobjectfixErrorFixHow to get past this error, for a person or an agent. Present on refusals with a known next step, such as a missing scope or role, a plan or billing limit, a halted environment, or a missing secret, connected account, OAuth app or end-user header. Absent when there is no fix to give. Kept in production responses, unlike details.
Show propertiesHide properties
summarystringrequiredOne sentence that says what to do.
commandstringAn exact anlyon CLI command that fixes it. Absent when no command does.
urlstring<uri>An absolute console link where a person fixes it.
docsstring<uri>A docs page that explains it.

