# get_storage_stats

Source: https://modulify.ai/docs/mcp/storage/get-storage-stats

Reads how much a site is storing, with the total number of files, the number of folders and the combined size in bytes.

- Title: Get storage usage
- Scope: `data:read`
- Access: Read only

Use it to answer how big a bucket has grown before deciding what to clear out. The totals come back as `objectCount`, `folderCount` and `totalSize`, in bytes.

The scan is capped, so a very large bucket comes back with `truncated` set to true and the numbers are a floor rather than an exact total. It keeps working while a storage backup is being restored. See [Usage and limits](https://modulify.ai/docs/data/storage#usage-and-limits).

## Inputs

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `projectId` | string | Yes | The site id. |