SiYuan icon

SiYuan

Manage SiYuan notebooks, documents, blocks, attributes, and more. Designed for AI agent workflows.

Asset → List Files in Directory

AI-generated

Summary

Lists the files and folders in a SiYuan workspace directory. Enter a directory path beginning with /, such as /data/ or /assets/.

Inputs

  • Directory Path (required) — Path to the directory under the SiYuan workspace; must start with /.

Output shape

A list of directory entries returned by SiYuan's /api/file/readDir endpoint.

The node passes through the API result without reshaping entries. Errors are returned in an error envelope when the node is set to continue on fail.

Links

Discussion