Cloudflare R2 Storage icon

Cloudflare R2 Storage

Interact with Cloudflare R2 object storage. Upload, download, manage files and buckets. Supports batch operations, multipart uploads, and can be used as a tool by AI Agents.

Object → Get Metadata

AI-generated

Summary

Retrieve metadata for a Cloudflare R2 object without downloading its contents.

Inputs

  • bucketName (required) — The name of the R2 bucket to operate on.
  • objectKey (required) — The key (path/filename) of the object in the bucket.

Output shape

an object containing a success boolean and an object field with the object's metadata

Both fields are always present; the operation never paginates and returns only on success.

Examples

Example 1: Basic Get Metadata operation

Set Bucket Name to 'my-bucket' and Object Key to 'images/photo.jpg'; the node returns the object's metadata.

Example 2: Using placeholder values

Leave Bucket Name empty (invalid) and Object Key as 'documents/report.pdf'; the workflow must provide valid values for execution.

Discussion