Cloudflare R2 icon

Cloudflare R2

Manage Cloudflare R2 buckets and objects

File → Copy

AI-generated

Summary

Copies an object from the specified source bucket and key into the selected destination bucket under the destination key.

Inputs

  • Bucket Name (required) — Destination bucket.
  • Source Bucket (required) — Bucket containing the object to copy.
  • Source Key (required) — Key of the object to copy.
  • Destination Key (required) — Key to assign to the copied object in the destination bucket.

Output shape

A single JSON item per input item, containing the copy result.

Returns Cloudflare R2's CopyObjectResult when present; otherwise returns {"success":true}. Errors are thrown unless Continue On Fail is enabled, in which case an item with an error message is returned.

Links

Discussion