Skip to main content
List the immediate entries of a directory

Authorizations

Authorization
string
header
required

BoxRouter API key; never an upstream provider key.

Path Parameters

sandbox_id
string
required

Workspace-owned BoxRouter sandbox ID, not an upstream ID.

Minimum string length: 1
Pattern: ^[^\u0000]*$

Query Parameters

path
string
required

Absolute path inside the sandbox, encoded as a query value.

Minimum string length: 1
Pattern: ^/[^\u0000]*$

Response

Every immediate entry, sorted by name; an empty directory returns an empty array.

name
string
required

The entry's name within the directory, without a path.

Minimum string length: 1
type
enum<string>
required

What the entry itself is. A symbolic link is symlink whether or not its target exists; it is never followed.

Available options:
file,
directory,
symlink,
other