File Manager
Get Application File Tree
Retrieves the full file tree of an application by its ID, with folders expanded recursively.
GET
Get Application File Tree
The tree goes up to 6 levels deep and skips dependency and build folders (
node_modules, .git,
vendor, __pycache__, target, .venv, venv, .next, .local). To browse those, use
List Application Files on the folder directly.string
required
The ID of the application to retrieve the file tree from. If the application belongs to a workspace, pass its ID in the
workspace_id query parameter.string
If the application belongs to a workspace, the workspace’s ID. Members with an Owner, Admin or Developer role can use the file manager on a workspace app they don’t own; without this, only the app’s own owner can.
Response
object
The root entry, with children nested recursively.
Error Responses
string
The error code indicating the reason for failure. Possible values:
AUTH_TOKEN_MISSING,API_KEY_INVALID,SESSION_REVOKED: TheAuthorizationheader is missing, the API key is invalid, or the dashboard session was revoked (401).API_KEY_IP_DENIED,API_KEY_SCOPE_DENIED: The API key is used from an IP outside its allowlist, or it lacks the scope the route requires (403).ACCESS_DENIED: The resource belongs to another account, or you lack the workspace permission for it (403).FORBIDDEN: The user does not have permission to access the application.APP_NOT_FOUND: The specified application does not exist.PLAN_RESTRICTED_FEATURE: The user’s plan does not support file manager access.INTERNAL_SERVER_ERROR: Failed to retrieve the file tree.
Last modified on October 26, 2026