Stat Path
Filesystem
Stat Path
Return metadata for a workspace path (type, size, mode, mtime, uid/gid).
GET
Stat Path
Overview
Returnsstat(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
Browser session ID (UUID).
Query Parameters
Workspace-relative path to stat.
Example Request
Response
Success Response (200)
The workspace-relative path that was stat’d.
One of
file, dir, symlink, other.Size in bytes. For directories this is the directory entry size, not the tree size.
Unix mode.
Last modified timestamp (ISO 8601).
Owner UID.
Owner GID.
Error Responses
| Status | Description |
|---|---|
400 | Invalid path. |
401 | Unauthorized — invalid or missing API key. |
404 | Session or path not found. |