Convex icon

Convex

Interact with Convex API

Actions10

Storage (File) → List

AI-generated

Summary

Lists files by querying the Convex Storage helper function, with an optional sort direction and result limit. For each input item, it returns one JSON item containing the processed file list and its count.

Inputs

  • Sort Order — Choose newest first (descending, default) or oldest first (ascending).
  • Enable Limit — When enabled, applies the configured maximum number of results; off by default.
  • Limit — Maximum results to request when Enable Limit is on; defaults to 50, with a UI range of 1–1000.
  • Convex API credentials (required) — Credentials provide the Convex deployment URL used to query n8n_nodes_convex:n8nListFiles.

Output shape

One JSON item per input item, with files, sortOrder, limit, and totalFiles fields.

files is an array (empty if the query result is not an array). Each file's size is formatted in MB and uploadedAt is formatted in the workflow timezone; _id, _creationTime, and metadata are omitted. limit reflects the parameter value and may be undefined when limiting is disabled. The operation expects the Convex helper query to be deployed.

Links

Discussion