Cloudflare R2 icon

Cloudflare R2

Manage Cloudflare R2 buckets and objects

Bucket → Search Objects

AI-generated

Summary

Lists objects in a Cloudflare R2 bucket, optionally filtering by key prefix and grouping results by a delimiter. Returns up to the configured limit or all results.

Inputs

  • Bucket Name (required) — Bucket to search.
  • Return All — When enabled, returns all matching results. Otherwise, returns up to Limit results; defaults to false.
  • Limit — Maximum number of results when Return All is disabled; defaults to 50.
  • Prefix — Only include keys beginning with this prefix.
  • Options → Delimiter — Groups matching keys into common prefixes using this delimiter.
  • Options → Start After — Starts listing after this key.

Output shape

A list of n8n items, each containing one listed object or grouped prefix in its JSON.

Object items contain the R2 listing fields. Grouped prefixes are returned as prefix fields with type set to "prefix". The limit applies across objects and prefixes.

Links

Discussion