Dirigible API reference
Endpoints · Folders
Get the directory tree
Docs / Folders / Get the directory tree
GET
https://node.dirigible.app/v1/treeReturns every live item in your workspace — notes, folders, image boards, music libraries, documents, and boards — each with its parentId. This is the directory listing: walk parentId to reconstruct the full folder hierarchy in one request.
Authentication
Bearer API key required.
Method
GET · JSON
Sync
Changes appear live in the app.
Response fields
idstringItem id.typestringnote | folder | moodboard | music | document | board.titlestringDisplay title.parentIdstring | nullEnclosing folder, or null at the root.starredbooleanWhether the item is starred.Status codes
200Success. Returns the resource (or an array); a delete returns { "ok": true }.
401Missing or invalid API key.
404The resource wasn't found (or isn't yours).
400Malformed request body.
curl "https://node.dirigible.app/v1/tree" \
-H "Authorization: Bearer dg_your_key"curlruns against the live API
Sample response
[
{ "id": "f9e8…", "type": "folder", "title": "Projects", "parentId": null, "starred": false },
{ "id": "a1b2…", "type": "note", "title": "Roadmap", "parentId": "f9e8…", "starred": true },
{ "id": "b17…", "type": "moodboard", "title": "Interior refs", "parentId": "f9e8…", "starred": false }
]json