Skip to main content
Check account usage and quota limits before starting repeated or long-running work. Set an API credential for the account you want to inspect. These endpoints return account-level information. Do not interpret every total as usage for a single project.

1. Read account usage and quotas

In Studio, open the account’s General settings and copy its account ID. Read usage with GET /accounts/{account_id}/usage:
read-usage.sh

2. Compare usage with quota totals

The response includes the account ID, project count, and credits spent. Resource buckets such as storage, bandwidth, and api_calls include used, total, remaining, and percent_used. A total of -1 means unlimited. Inspect period_start and period_end for the billing period, and read warnings for buckets approaching or over their limit. Usage and quota totals come from the same response.

Verify the result

Compare matching resources and time periods. A credit balance, a quota, and a recorded usage total answer different questions; one does not replace the others. If a request is rejected, inspect its error for the specific limit or credit condition. The Billing and Usage API explains budgets, credits, and attribution. For recurring work, check usage again after a representative run before relying on its expected consumption.

API references