KeyValue icon

KeyValue

Store and retrieve key-value pairs on the filesystem

Actions20

Directory → List

AI-generated

Summary

Lists directories stored in the KeyValue filesystem directory, optionally filtering names with a glob pattern. Returns one n8n item per matching directory; if the storage directory does not exist, returns no items.

Inputs

  • Directory Filter — Optional glob pattern for directory names. * matches any number of characters and ? matches one character; leave empty to include all directories.

Output shape

A list of items, each with json.directory containing a matching directory name.

Reads directories under the configured KeyValue storage location. Non-directory entries are excluded; if the storage location is absent or there are no matches, the output list is empty.

Links

Discussion