v1

latestOpenAPI 3.1.0MIT2026-07-1799111346.8 KB

Stat an object

Returns metadata for a single file or directory, mirroring rclone lsjson on one entry.

post/operations/stat

Query parameters

fsstring

Remote name or path that contains the item to inspect.

remotestring

Path to the file or directory within fs to describe.

optstring

Optional JSON object of listing flags, matching those accepted by operations/list.

_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

fsstring

Remote name or path that contains the item to inspect.

remotestring

Path to the file or directory within fs to describe.

optstring

Optional JSON object of listing flags, matching those accepted by operations/list.

_groupstring

Assign the request to a custom stats group.

_asyncboolean

Run the command asynchronously. Returns a job id immediately.

Response

Metadata for a single file or directory from operations/stat.