---
title: "Report disk usage"
method: POST
path: "/core/du"
---

# Report disk usage

`POST /core/du`

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

## Query parameters

- `dir` string
- `_group` string
- `_async` boolean

## Headers

- `Prefer` 'respond-async'

## Request body

- CoreDuRequest
  - `dir` string — Local directory path to report disk usage for. Defaults to the rclone cache directory when omitted.
  - `_group` string — Assign the request to a custom stats group.
  - `_async` boolean — Run the command asynchronously. Returns a job id immediately.

## Response `200`

Disk usage summary for the requested directory.

- object
  - `dir` string, required
  - `info` object, required
    - `Free` integer, required
    - `Available` integer, required
    - `Total` integer, required

## Other responses

- `202` — Request accepted for async processing. Poll /job/status with the returned jobid.
- `4XX` — Any error response (HTTP 4xx/5xx)
- `5XX` — Any error response (HTTP 4xx/5xx)

---

[API](https://skmtc.net/rclone/apis/rclone-rc-api.md) · [All operations](https://skmtc.net/rclone/apis/rclone-rc-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/rclone/rclone-rc-api/versions/2849bf2803ce/schema)
