`GET /api/me/storage-usage` — the active workspace's live storage tally (`used_mb`) and the resolved plan limit (`limit_mb`, `null` = unlimited).
GET
/api/me/storage-usage
const url = 'https://example.com/api/me/storage-usage';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/me/storage-usageResponses
Section titled “Responses”Media typeapplication/json
Live storage usage for a workspace, surfaced to the dashboard/billing UI.
used_mb is the workspace_storage_counters tally in whole MB; limit_mb
is the apps.storage_mb plan limit, or None for unlimited plans.
object
limit_mb
integer | null format: int64
used_mb
required
integer format: int64
workspace_id
required
string format: uuid
Examplegenerated
{ "limit_mb": 1, "used_mb": 1, "workspace_id": "2489E9AD-2EE2-8E00-8EC9-32D5F69181C0"}