---
related_nodes: ["library", "library_get"]
---

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 see
- `limit` - 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 array `create_text` takes and an item's `path` reports. `[]` is the workspace root. Unset (`null`) lists every item in the workspace, unfiled ones included.
- `recursive` - with `path`, also list everything in folders nested under it. Default `false`: only the folder's direct children. `path: []` with `recursive: true` lists every filed item, leaving out the unfiled ones.
- `unfiled` - list only the unfiled items, shown in the Library as the Other folder. Leave `path` unset with it; setting both fails validation.

**Inputs:**
- `trigger` - runs the node.
- `path` - optional. A wired array of folder slugs replaces the configured `path` and `unfiled` for that run; `null` keeps 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:

```json
{ "library_list": { "path": ["reports-a1b2c3"], "recursive": true } }
```

The unfiled items:

```json
{ "library_list": { "unfiled": true } }
```
