Cloudflare R2 · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cloudflare R2 Cloudflare R2 Bucket API
30 actions
30 updates
phrasing
extends
openapi/cloudflare-r2-r2-bucket-api-openapi.yml
Generated by API Evangelist
Written by API Evangelist tooling for Cloudflare R2's API. It is a proposal applied on top of the contract, not a document Cloudflare R2 publishes.
What the actions change
x-apievangelist-phrasing
Targets 30 · first 16 shown; the file carries all of them
$.info
$.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration'].get
$.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}'].get
$.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}'].put
$.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}'].delete
$.paths['/accounts/{account_id}/r2/buckets'].get
$.paths['/accounts/{account_id}/r2/buckets'].post
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}'].get
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}'].delete
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}'].patch
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/cors'].get
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/cors'].put
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/cors'].delete
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom'].get
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom'].post
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}'].get
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare R2 Cloudflare R2 Bucket API
version: 1.0.0
extends: openapi/cloudflare-r2-r2-bucket-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 29
- target: $.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration'].get
update:
x-apievangelist-phrasing:
intent: List R2 event notification rules
effect: read
questions:
- Which SQS queues are set up to receive R2 event notifications for my bucket?
- Can I see all notification rules for an R2 bucket in one call?
instructions:
- text: List all event notification rules for bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show every notification rule on R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}'].get
update:
x-apievangelist-phrasing:
intent: Get one R2 event notification rule
effect: read
questions:
- How do I read a single notification rule for an R2 bucket?
- What does one R2 event notification rule contain?
instructions:
- text: Get notification rule {queue_id} for bucket {bucket_name} in account {account_id}.
slots:
queue_id: path.queue_id
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show the R2 notification rule {queue_id} on bucket {bucket_name}.
slots:
queue_id: path.queue_id
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}'].put
update:
x-apievangelist-phrasing:
intent: Create an R2 event notification rule
effect: write
questions:
- How do I send R2 bucket events to an SQS queue?
- Can I create a notification rule that fires when an object is uploaded to R2?
instructions:
- text: Create notification rule {queue_id} on bucket {bucket_name} in account {account_id} with rules {rules}.
slots:
queue_id: path.queue_id
bucket_name: path.bucket_name
account_id: path.account_id
rules: requestBody.rules
- text: Set up R2 bucket {bucket_name} to notify queue {queue_id}.
slots:
bucket_name: path.bucket_name
queue_id: path.queue_id
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration/queues/{queue_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete R2 event notification rules
effect: destructive
questions:
- How do I stop R2 from sending events to a queue?
- Does deleting an R2 notification rule delete all its rules at once?
instructions:
- text: Delete notification rule {queue_id} from bucket {bucket_name} in account {account_id}.
slots:
queue_id: path.queue_id
bucket_name: path.bucket_name
account_id: path.account_id
- text: Remove R2 notification rules {ruleIds} from queue {queue_id} on bucket {bucket_name}.
slots:
ruleIds: requestBody.ruleIds
queue_id: path.queue_id
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets'].get
update:
x-apievangelist-phrasing:
intent: List R2 buckets
effect: read
questions:
- Which R2 buckets exist on my account?
- Can I list only buckets whose name contains a word?
instructions:
- text: List all R2 buckets in account {account_id}.
slots:
account_id: path.account_id
- text: Show R2 buckets on account {account_id} whose name contains {name_contains}.
slots:
account_id: path.account_id
name_contains: query.name_contains
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets'].post
update:
x-apievangelist-phrasing:
intent: Create an R2 bucket
effect: write
questions:
- How do I create a new R2 bucket for storing files?
- Can I choose the storage class when creating an R2 bucket?
instructions:
- text: Create R2 bucket {name} in account {account_id}.
slots:
name: requestBody.name
account_id: path.account_id
- text: Create R2 bucket {name} in account {account_id} with storage class {storageClass}.
slots:
name: requestBody.name
account_id: path.account_id
storageClass: requestBody.storageClass
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}'].get
update:
x-apievangelist-phrasing:
intent: Get an R2 bucket's properties
effect: read
questions:
- What are the properties of an existing R2 bucket?
- Can I look up one R2 bucket by name?
instructions:
- text: Get R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show the properties of R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}'].delete
update:
x-apievangelist-phrasing:
intent: Delete an R2 bucket
effect: destructive
questions:
- How do I delete an R2 bucket?
- Can I remove an R2 bucket that still holds objects?
instructions:
- text: Delete R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Remove R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}'].patch
update:
x-apievangelist-phrasing:
intent: Update an R2 bucket's storage class
effect: write
questions:
- How do I change the storage class of an existing R2 bucket?
- Can I patch an R2 bucket's properties?
instructions:
- text: Patch R2 bucket {bucket_name} in account {account_id} to storage class {storageClass}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
storageClass: header.cf-r2-storage-class
- text: Change the storage class of R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/cors'].get
update:
x-apievangelist-phrasing:
intent: Get an R2 bucket's CORS policy
effect: read
questions:
- What CORS rules apply to my R2 bucket?
- Can I read the cross-origin policy on an R2 bucket?
instructions:
- text: Get the CORS policy for R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show cross-origin rules on R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/cors'].put
update:
x-apievangelist-phrasing:
intent: Set an R2 bucket's CORS policy
effect: write
questions:
- How do I allow cross-origin requests to my R2 bucket?
- Can I set CORS rules on an R2 bucket?
instructions:
- text: Set CORS policy {rules} on R2 bucket {bucket_name} in account {account_id}.
slots:
rules: requestBody.rules
bucket_name: path.bucket_name
account_id: path.account_id
- text: Allow cross-origin requests on R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/cors'].delete
update:
x-apievangelist-phrasing:
intent: Remove an R2 bucket's CORS policy
effect: destructive
questions:
- How do I remove CORS rules from an R2 bucket?
- Can I clear the cross-origin policy on an R2 bucket?
instructions:
- text: Delete the CORS policy from R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Remove cross-origin rules on R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom'].get
update:
x-apievangelist-phrasing:
intent: List custom domains on an R2 bucket
effect: read
questions:
- Which custom domains are attached to my R2 bucket?
- Can I see every custom domain registered to an R2 bucket?
instructions:
- text: List custom domains on R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show all custom domains attached to R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom'].post
update:
x-apievangelist-phrasing:
intent: Attach a custom domain to an R2 bucket
effect: write
questions:
- How do I serve my R2 bucket over a custom domain?
- Can I require a minimum TLS version on a custom domain for an R2 bucket?
instructions:
- text: Attach custom domain {domain} to R2 bucket {bucket_name} in account {account_id} on zone {zoneId}.
slots:
domain: requestBody.domain
bucket_name: path.bucket_name
account_id: path.account_id
zoneId: requestBody.zoneId
- text: Enable public access at custom domain {domain} on R2 bucket {bucket_name}.
slots:
domain: requestBody.domain
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}'].get
update:
x-apievangelist-phrasing:
intent: Get custom domain settings on an R2 bucket
effect: read
questions:
- What TLS settings are configured on a custom domain for my R2 bucket?
- Can I read the settings of one custom domain on an R2 bucket?
instructions:
- text: Get custom domain settings for {domain} on R2 bucket {bucket_name} in account {account_id}.
slots:
domain: path.domain
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show the TLS configuration of custom domain {domain} on R2 bucket {bucket_name}.
slots:
domain: path.domain
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}'].put
update:
x-apievangelist-phrasing:
intent: Update custom domain settings on an R2 bucket
effect: write
questions:
- How do I change the minimum TLS version on a custom domain for an R2 bucket?
- Can I disable public access on a custom domain of an R2 bucket?
instructions:
- text: Set minimum TLS version {minTLS} on custom domain {domain} of R2 bucket {bucket_name} in account {account_id}.
slots:
minTLS: requestBody.minTLS
domain: path.domain
bucket_name: path.bucket_name
account_id: path.account_id
- text: Disable public access on custom domain {domain} of R2 bucket {bucket_name}.
slots:
domain: path.domain
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom/{domain}'].delete
update:
x-apievangelist-phrasing:
intent: Remove a custom domain from an R2 bucket
effect: destructive
questions:
- How do I stop serving my R2 bucket over a custom domain?
- Can I detach a custom domain from an R2 bucket?
instructions:
- text: Remove custom domain {domain} from R2 bucket {bucket_name} in account {account_id}.
slots:
domain: path.domain
bucket_name: path.bucket_name
account_id: path.account_id
- text: Detach custom domain {domain} from R2 bucket {bucket_name}.
slots:
domain: path.domain
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/managed'].get
update:
x-apievangelist-phrasing:
intent: Get public access over the r2.dev domain
effect: read
questions:
- Is my R2 bucket publicly accessible over its r2.dev domain?
- Can I check whether the managed r2.dev domain has public access enabled?
instructions:
- text: Get public access state of the r2.dev domain for R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Check whether the r2.dev domain of R2 bucket {bucket_name} is public.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/domains/managed'].put
update:
x-apievangelist-phrasing:
intent: Enable or disable public access over r2.dev
effect: write
questions:
- How do I make my R2 bucket public over its r2.dev domain?
- Can I turn off public access on the managed r2.dev domain?
instructions:
- text: Set public access on the r2.dev domain of R2 bucket {bucket_name} in account {account_id} to {enabled}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
enabled: requestBody.enabled
- text: Make the r2.dev domain of R2 bucket {bucket_name} public.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/lifecycle'].get
update:
x-apievangelist-phrasing:
intent: Get an R2 bucket's lifecycle rules
effect: read
questions:
- What object lifecycle rules are set on my R2 bucket?
- Can I read the retention and deletion rules for an R2 bucket?
instructions:
- text: Get lifecycle rules for R2 bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show the object lifecycle configuration of R2 bucket {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/lifecycle'].put
update:
x-apievangelist-phrasing:
intent: Set object lifecycle rules for a bucket
effect: write
questions:
- How do I automatically expire old objects in an R2 bucket?
- Can I set lifecycle rules that move objects to Glacier after a number of days?
instructions:
- text: Set lifecycle rules {rules} on bucket {bucket_name} in account {account_id}.
slots:
rules: requestBody.rules
bucket_name: path.bucket_name
account_id: path.account_id
- text: Move objects in {bucket_name} to Glacier after {days} days.
slots:
bucket_name: path.bucket_name
days: requestBody.rules
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/local-uploads'].get
update:
x-apievangelist-phrasing:
intent: Get a bucket's local uploads setting
effect: read
questions:
- Is local uploads enabled for my R2 bucket?
- Where does object data get written first when local uploads are on?
instructions:
- text: Get the local uploads configuration for bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Check whether local uploads are enabled on {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/local-uploads'].put
update:
x-apievangelist-phrasing:
intent: Turn local uploads on or off for a bucket
effect: write
questions:
- How do I enable local uploads so objects write to the nearest region first?
- Can I switch local uploads off for a bucket?
instructions:
- text: Set local uploads enabled to {enabled} on bucket {bucket_name} in account {account_id}.
slots:
enabled: requestBody.enabled
bucket_name: path.bucket_name
account_id: path.account_id
- text: Turn local uploads on for {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/lock'].get
update:
x-apievangelist-phrasing:
intent: Get a bucket's retention lock rules
effect: read
questions:
- What retention lock rules are set on my R2 bucket?
- Can I read the lock configuration for a bucket?
instructions:
- text: Get the lock rules for bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show the retention locks on {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/lock'].put
update:
x-apievangelist-phrasing:
intent: Set retention lock rules on a bucket
effect: write
questions:
- How do I set a retention lock on a bucket so objects can't be deleted?
- Can I change the lock rules on an R2 bucket?
instructions:
- text: Set lock rules {rules} on bucket {bucket_name} in account {account_id}.
slots:
rules: requestBody.rules
bucket_name: path.bucket_name
account_id: path.account_id
- text: Apply retention locks to {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/sippy'].get
update:
x-apievangelist-phrasing:
intent: Get Sippy configuration for a bucket
effect: read
questions:
- Is Sippy enabled on my R2 bucket?
- What Sippy settings does a bucket have?
instructions:
- text: Get the Sippy configuration for bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Show Sippy settings on {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/sippy'].put
update:
x-apievangelist-phrasing:
intent: Enable Sippy on a bucket
effect: write
questions:
- How do I enable Sippy on an R2 bucket?
- Can I turn on Sippy for a bucket that already has it?
instructions:
- text: Enable Sippy on bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Turn on Sippy for {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/sippy'].delete
update:
x-apievangelist-phrasing:
intent: Disable Sippy on a bucket
effect: destructive
questions:
- How do I turn off Sippy on a bucket?
- Can I disable Sippy for an R2 bucket?
instructions:
- text: Disable Sippy on bucket {bucket_name} in account {account_id}.
slots:
bucket_name: path.bucket_name
account_id: path.account_id
- text: Turn off Sippy for {bucket_name}.
slots:
bucket_name: path.bucket_name
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2/temp-access-credentials'].post
update:
x-apievangelist-phrasing:
intent: Create temporary access credentials for a bucket
effect: write
questions:
- How do I give a user temporary access to an R2 bucket?
- Can I scope temporary credentials to certain prefixes or objects?
instructions:
- text: Create temporary credentials for bucket {bucket} scoped to {objects} in account {account_id}.
slots:
bucket: requestBody.bucket
objects: requestBody.objects
account_id: path.account_id
- text: Issue {permission} credentials for {bucket} valid for {ttlSeconds} seconds.
slots:
permission: requestBody.permission
bucket: requestBody.bucket
ttlSeconds: requestBody.ttlSeconds
method: generated
generated: '2026-11-17'
Work with this as data
Every overlay here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for openapi overlays
4 MCP tools reach this
find_overlaysBrowse and filter every overlay in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-r2-r2-bucket-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.