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.

Bucket → Get

AI-generated

Summary

Retrieve information about an R2 bucket.

Inputs

  • bucketName (required) — The name of the R2 bucket. Must be unique across all of Cloudflare R2.

Output shape

a bucket object containing metadata and configuration

The response includes bucket properties but no pagination; success/failure only.

Examples

Example 1: Get bucket details

Set Resource to Bucket, Operation to Get, and enter the desired Bucket Name.

Example 2: Validate bucket existence

Use the same configuration as above; the operation returns bucket data or an error if the bucket does not exist.

Discussion