Storage usage report
drive_usageAnalyze storage usage for a Proton Drive folder: report total sizes, largest files and folders, file-type breakdown, old files, and trash stats to help find what consumes space.
Instructions
Storage analytics for a subtree: totals, largest files/folders, extension and media-type breakdown, old files, trash stats (always uncached, ~2.5 s). Sizes are summed file sizes, not the account quota. Walks the tree; results come from a cache up to 5 min old (other clients' changes unseen until expiry or refresh=true); a first walk of a large drive can take minutes. complete flags partial results.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| top | No | Rows per ranking (default 10). | |
| path | No | Folder (default /my-files). | |
| refresh | No | Ignore the cached walk. | |
| olderThanDays | No | Report files older than this many days. |