v1

latestOpenAPI 3.1.0MIT2026-07-1799111346.8 KB

Report disk usage

Returns disk usage statistics for the supplied local directory (defaults to the cache dir).

post/core/du

Query parameters

dirstring

Local directory path to report disk usage for. Defaults to the rclone cache directory when omitted.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Headers

Prefer'respond-async'

Set to "respond-async" with _async=true to receive HTTP 202 instead of 200.

Request body

dirstring

Local directory path to report disk usage for. Defaults to the rclone cache directory when omitted.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Response

Disk usage summary for the requested directory.

dirstring required