Skip to main content
GET
Stat Path

Overview

Returns stat(2)-style metadata for a workspace path. Works for files, directories, and symlinks. Use this to check existence without pulling content, or to branch on type before calling the read vs. list endpoints.

Path Parameters

string
required
Browser session ID (UUID).

Query Parameters

string
required
Workspace-relative path to stat.

Example Request

Response

Success Response (200)

string
The workspace-relative path that was stat’d.
string
One of file, dir, symlink, other.
integer
Size in bytes. For directories this is the directory entry size, not the tree size.
integer
Unix mode.
string
Last modified timestamp (ISO 8601).
integer
Owner UID.
integer
Owner GID.
Example Response:

Error Responses