Get quota usage for a specific metric
Returns current usage and limit for a single quota metric. The metric must be URL-encoded (e.g. compute%2Fmachines).
Authorizations
workspace API token (sk_akua_...) or OAuth2 JWT. Create tokens at https://akua.dev/developers/api-tokens
Path Parameters
Quota metric (URL-encoded service/resource).
"compute/machines"
Response
Quota info
Metric: service/resource. Not unique on its own — see the scope field. Index by (metric, scope).
"compute/machines"
Allocation = max owned, rate = max per time window, concurrency = max in-flight.
allocation, rate, concurrency "allocation"
Identity the limit/usage numbers are bound to, and the second half of an entry's key. workspace is occupancy inside the workspace; principal aggregates across every workspace and organization owned by the same authenticated identity, so a new workspace does not grant fresh free capacity; cluster bounds in-flight work for one cluster. A metric enforced against more than one identity — every free-tier allocation, for example — returns one entry per scope, so (metric, scope) is the composite key. Indexing a listing by metric alone silently drops entries.
workspace, principal, cluster "workspace"
"Compute machines"
Unit the limit/usage numbers are measured in.
count, cores, bytes, seconds, count/day, count/minute, cents/day "count"
1
0
1
For rate quotas: Unix timestamp (seconds) reset time
x >= 0