`GET /api/usages` — every App-quota dimension the active workspace consumes (apps / storage / build minutes / bandwidth), each with its live tally + plan limit, in one round-trip.
const url = 'https://example.com/api/usages';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/api/usagesResponses
Section titled “Responses”The aggregated App-quota usage for a workspace, returned by GET /api/usages.
object
One usage dimension: a stable key, the live used tally and the plan
limit in the same unit. limit = None means the plan grants unlimited
(the bar renders neutral / unconstrained).
object
The entitlement feature key this dimension caps against.
Plan ceiling in the same unit, or None for unlimited.
Current usage in the dimension’s natural unit (count / MB / minutes / GB).
One usage dimension: a stable key, the live used tally and the plan
limit in the same unit. limit = None means the plan grants unlimited
(the bar renders neutral / unconstrained).
object
The entitlement feature key this dimension caps against.
Plan ceiling in the same unit, or None for unlimited.
Current usage in the dimension’s natural unit (count / MB / minutes / GB).
One usage dimension: a stable key, the live used tally and the plan
limit in the same unit. limit = None means the plan grants unlimited
(the bar renders neutral / unconstrained).
object
The entitlement feature key this dimension caps against.
Plan ceiling in the same unit, or None for unlimited.
Current usage in the dimension’s natural unit (count / MB / minutes / GB).
One usage dimension: a stable key, the live used tally and the plan
limit in the same unit. limit = None means the plan grants unlimited
(the bar renders neutral / unconstrained).
object
The entitlement feature key this dimension caps against.
Plan ceiling in the same unit, or None for unlimited.
Current usage in the dimension’s natural unit (count / MB / minutes / GB).
Examplegenerated
{ "apps": { "key": "example", "limit": 1, "used": 1 }, "bandwidth_gb": { "key": "example", "limit": 1, "used": 1 }, "build_minutes": { "key": "example", "limit": 1, "used": 1 }, "storage_mb": { "key": "example", "limit": 1, "used": 1 }, "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}