Cloudflare R2
api.cloudflare.com_r2
Cloudflare R2 is S3-compatible object storage with zero egress fees. Manage buckets, CORS, custom domains, lifecycle rules, event notifications, and temporary credentials through the Cloudflare API.
Enable this service
This service is in the catalog but not part of v1 launch billing. To use it, run the command below and provide your own API key in the local config page — the gateway will call it under your account.
api_key
free
1.0
https://api.cloudflare.com/client/v4
Aug 7, 2026
Health
This is a community-maintained manifest. Health monitoring is not available because this service doesn't host its own /.well-known/agent endpoint yet. Learn more about trust levels →
Top Capabilities
Most commonly used operations — ready to call without drill-down.
buckets_list
GETList all R2 buckets in an account.
GET https://api.cloudflare.com/client/v4/accounts/{account_id}/r2/buckets
account_id (string, required) — Cloudflare account identifier
cursor (string) — Pagination cursor
per_page (integer) — Results per page (max 1000)
name_contains (string) — Filter buckets by name substring
custom_domains_list
GETList custom domains for a bucket.
GET https://api.cloudflare.com/client/v4/accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom
account_id (string, required) — Cloudflare account identifier
bucket_name (string, required) — Name of the R2 bucket
event_notifications_list
GETList event notification rules for a bucket.
GET https://api.cloudflare.com/client/v4/accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration
account_id (string, required) — Cloudflare account identifier
bucket_name (string, required) — Name of the R2 bucket
All Capabilities (28)
buckets (5)
Create a new R2 bucket.
Delete an R2 bucket.
Get details of a specific R2 bucket.
List all R2 buckets in an account.
Update properties of an R2 bucket.
cors (3)
Remove CORS configuration from a bucket.
Get the CORS policy for a bucket.
Set CORS rules for a bucket.
custom_domains (5)
Register a custom domain for a bucket.
Remove a custom domain from a bucket.
Get details of a custom domain.
List custom domains for a bucket.
Update custom domain configuration.
event_notifications (4)
Create event notification rules for a bucket.
Delete event notification rules.
Get a specific event notification rule.
List event notification rules for a bucket.
lifecycle (2)
Get object lifecycle rules for a bucket.
Set object lifecycle rules for a bucket.
locks (2)
Get lock rules for a bucket.
Set lock policies for a bucket.
managed_domains (2)
Get state of r2.dev public access for a bucket.
Configure r2.dev domain access for a bucket.
metrics (1)
Get storage metrics across all buckets.
sippy (3)
Disable Sippy migration for a bucket.
Get Sippy migration configuration for a bucket.
Configure Sippy migration for a bucket.
temp_credentials (1)
Create temporary access credentials for a bucket.
Agent Preview
This is what an AI agent sees when it discovers this service via the Gateway:
Service: Cloudflare R2
Description: Cloudflare R2 is S3-compatible object storage with zero egress fees. Manage buckets, CORS, custom domains, lifecycle rules, event notifications, and temporary credentials through the Cloudflare API.
Auth: api_key
Capabilities (28 total):
buckets (5):
- buckets_create: Create a new R2 bucket.
- buckets_delete: Delete an R2 bucket.
- buckets_get: Get details of a specific R2 bucket.
- buckets_list: List all R2 buckets in an account.
- buckets_update: Update properties of an R2 bucket.
cors (3):
- cors_delete: Remove CORS configuration from a bucket.
- cors_get: Get the CORS policy for a bucket.
- cors_put: Set CORS rules for a bucket.
custom_domains (5):
- custom_domains_create: Register a custom domain for a bucket.
- custom_domains_delete: Remove a custom domain from a bucket.
- custom_domains_get: Get details of a custom domain.
- custom_domains_list: List custom domains for a bucket.
- custom_domains_update: Update custom domain configuration.
event_notifications (4):
- event_notifications_create: Create event notification rules for a bucket.
- event_notifications_delete: Delete event notification rules.
- event_notifications_get: Get a specific event notification rule.
- event_notifications_list: List event notification rules for a bucket.
lifecycle (2):
- lifecycle_get: Get object lifecycle rules for a bucket.
- lifecycle_put: Set object lifecycle rules for a bucket.
locks (2):
- lock_get: Get lock rules for a bucket.
- lock_put: Set lock policies for a bucket.
managed_domains (2):
- managed_domain_get: Get state of r2.dev public access for a bucket.
- managed_domain_update: Configure r2.dev domain access for a bucket.
metrics (1):
- metrics_get: Get storage metrics across all buckets.
sippy (3):
- sippy_delete: Disable Sippy migration for a bucket.
- sippy_get: Get Sippy migration configuration for a bucket.
- sippy_put: Configure Sippy migration for a bucket.
temp_credentials (1):
- temp_credentials_create: Create temporary access credentials for a bucket.
Top capabilities (ready to call):
- buckets_list: GET /accounts/{account_id}/r2/buckets
- custom_domains_list: GET /accounts/{account_id}/r2/buckets/{bucket_name}/domains/custom
- event_notifications_list: GET /accounts/{account_id}/event_notifications/r2/{bucket_name}/configuration