Cloudflare R2 icon

Cloudflare R2

Manage Cloudflare R2 buckets and objects

File → Get Many

AI-generated

Summary

Lists files in the specified Cloudflare R2 bucket, optionally filtering keys by prefix. Returns matching file metadata as n8n items.

Inputs

  • Bucket Name (required) — Bucket to list files from.
  • Return All — When enabled, returns all matching files; otherwise returns up to the Limit.
  • Limit — Maximum number of results when Return All is disabled. Defaults to 50.
  • Prefix — Only lists objects whose keys begin with this value; defaults to no prefix filter.

Output shape

A list of items, one per file, with each item's JSON containing the S3 object metadata returned by Cloudflare R2.

Objects with keys ending in / are excluded. Results are paginated when needed; the limit is applied to the listed objects.

Links

Discussion