capabilities.work

List objects in an R2 bucket

One step with Cloudflare R2. We can help you get access.

Look something up

List objects in an R2 bucket

Use Cloudflare R2: its Cloudflare R2 Cloudflare R2 Object API lets you list objects in an R2 bucket in a single step (GET /accounts/{account_id}/r2/buckets/{bucket_name}/objects). capabilities.work can help you get signed up and connected.

  • Which files are stored in my R2 bucket?
  • Can I list only the objects whose keys start with a prefix?
Say it to your AI assistant
  • List the objects in bucket {bucket_name} on account {account_id}.
  • List objects in {bucket_name} on account {account_id} whose keys start with {prefix}.
For your developer

GET /accounts/{account_id}/r2/buckets/{bucket_name}/objects in Cloudflare R2 Cloudflare R2 Object API. Full spec on APIs.io.