Skip to main content
list_project_tree Get a project’s document tree: folders and files with their parent-child relationships, depth-first. Returns id, name, type, parentId, createdAt, updatedAt for each node. Pass folderId to list one folder’s subtree and depth to limit the levels (1 = direct children only). The result’s page says how many nodes there are; pass page.nextOffset to continue.

Parameters

string
string
List only this folder’s contents, not the folder itself.
integer
How many levels to descend. Omit for all. Minimum: 1.
integer
Where to start. Pass the previous result’s page.nextOffset. Minimum: 0.
integer
How many to return at most; the result may hold fewer to fit. Minimum: 1.