Get Storage Usage
get_storage_usageReturns the storage pool snapshot (used, limit and remaining bytes) for the personal scope or a group — data slots and uploaded assets share this quota; check before large set_data_slot or upload_asset writes. Pass slug to additionally scan which displays reference that data slot (do this before delete_data_slot to know which displays would break). Narrowly-scoped API keys get suppressed=true with zeroed numbers. Requires content scope.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| slug | No | Optional data-slot slug: also report which displays reference it (slotUsage). | |
| group_id | No | Group/organization ID for the group pool. Omit for the personal pool. | |
| access_token | No | Optional bearer token; prefer session_request_id. | |
| session_request_id | No | Session handle from create_auth_session; pass it on every authenticated call. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| scope | No | ||
| groupId | No | ||
| slotUsage | No | ||
| usedBytes | No | ||
| limitBytes | No | ||
| suppressed | No | ||
| remainingBytes | No |