List Library
library_list · Nodes · Documents
Lists Library items: the workspace, one folder, or the unfiled items.
Lists Library items: the whole workspace, one folder, or the unfiled items. Documents, folders, and files are all listed; kind tells them apart.
Config:
agent_visible_only- only items AI agents can seelimit- maximum results; unset returns every match. It counts only items that pass every other filter.path- folder to list, as folder slugs outermost first: the same arraycreate_texttakes and an item'spathreports.[]is the workspace root. Unset (null) lists every item in the workspace, unfiled ones included.recursive- withpath, also list everything in folders nested under it. Defaultfalse: only the folder's direct children.path: []withrecursive: truelists every filed item, leaving out the unfiled ones.unfiled- list only the unfiled items, shown in the Library as the Other folder. Leavepathunset with it; setting both fails validation.
Inputs:
trigger- runs the node.path- optional. A wired array of folder slugs replaces the configuredpathandunfiledfor that run;nullkeeps the configuration.
A path segment may be a folder's current slug, an older slug, or its ULID. A segment that names no folder, or a folder that is not inside the segment before it, fails the node rather than listing nothing.
Output: documents - array of item summaries: id, slug, name, path (null when unfiled), kind (document, folder, or file), object_id (a file's stored object), icon, color, agent_visible, ai_access_policy, processing_status, current_data_id, deleted_at, created_at, updated_at. No content; read it with Library Get or Library (get).
Everything under a reports folder:
{ "library_list": { "path": ["reports-a1b2c3"], "recursive": true } }
The unfiled items:
{ "library_list": { "unfiled": true } }
Inputs
triggerRequiredpathOptional
Outputs
documents
Configuration
| Field | Type | Required | Description |
|---|---|---|---|
agent_visible_only | boolean | No | |
limit | integer | Yes | |
path | nullable<array<string>> | No | Folder to list, as folder slugs outermost first; an empty list is the workspace root. Disabled lists every item in the workspace. |
recursive | boolean | No | Also list items in folders nested under the path, not only its direct children |
unfiled | boolean | No | List the unfiled items, shown in the Library as the Other folder: files and documents in no folder. Leave path disabled with it. |
base_config | record | No | Shared node configuration. failure_mode decides what a failure of this node does to the workflow; leave it at the default stop unless the workflow handles the failure itself on the node's error output (route_to_error) or the node is a rare emergency kill switch (stop_workflow). |