Skip to main content
GET
List Directory
Returns the immediate children (files and subdirectories) of the specified directory path. Does not recurse into subdirectories.

Path Parameters

string
required
The sandbox identifier. Format: sbx-<8 chars>.

Query Parameters

string
required
Absolute path of the directory to list inside the sandbox.Example: /home/user

Response

Returns an array of EntryInfo objects, one per directory entry.
string
Entry filename or directory name (not the full path).
string
Full absolute path inside the sandbox.
string
Entry type: "file", "dir", or "symlink".
integer
Size in bytes. 0 for directories.

Example

Response

Error Responses