# FolderSizes

First published 27 Oct 2026 (release 0.2.18) · Unchanged since publication

UrbeStack release 0.2.35 named type of the API.

## Fields

- `folders` (array of object): Directories whose disk usage was measured, sorted by name.
  - `bytes` (integer): Disk usage in bytes.
  - `name` (string)
  - `partial` (boolean): Whether some contents could not be read. When true, bytes counts only the contents that could be read.
  - `path` (HomePath): A path within the customer's home directory, with / representing the home directory itself. The path cannot contain .. components or control characters.
- `inside` (boolean)
- `path` (HomePath): A path within the customer's home directory, with / representing the home directory itself. The path cannot contain .. components or control characters.
- `seconds` (integer): Time limit for du, in seconds (20).
- `timed_out` (boolean)
- `unmeasured` (array of object): Directories that du had not finished measuring when the time limit expired.
  - `name` (string)
  - `path` (HomePath): A path within the customer's home directory, with / representing the home directory itself. The path cannot contain .. components or control characters.
- `user` (Username): A username consists of lowercase letters, digits and underscores. For the user role, it also serves as the system account name.

## Used by

- [GET /files/{user}/size](https://urbestack.com/docs/api/get-files-user-size.md): Measure disk usage for a directory or its immediate subdirectories
