Skip to main content
GET
Returns a list of files and directories at the given path in the sandbox. Required scope: sessions:read

Path Parameters

string
required
The session ID (e.g. ses_abc123).

Query Parameters

string
default:"/"
Directory path to list (e.g. /src).
boolean
default:"false"
When true, lists files recursively.

Headers

string
required
Bearer token. Example: Bearer runtm_xxx

Response

array
Array of file/directory entries.
string
File or directory name.
string
Full path within the sandbox.
string
Entry type: file or directory.
integer
File size in bytes (0 for directories).