Cloudflare R2

api.cloudflare.com_r2

Community

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.

[catalog]Catalog only — enable via gateway with your own API key

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.

Auth

api_key

Pricing

free

Spec version

1.0

Base URL

https://api.cloudflare.com/client/v4

Last crawled

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

GET

List 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

GET

List 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

GET

List 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)

POSTbuckets_create

Create a new R2 bucket.

DELETEbuckets_delete

Delete an R2 bucket.

GETbuckets_get

Get details of a specific R2 bucket.

GETbuckets_list

List all R2 buckets in an account.

PATCHbuckets_update

Update properties of an R2 bucket.

cors (3)

DELETEcors_delete

Remove CORS configuration from a bucket.

GETcors_get

Get the CORS policy for a bucket.

PUTcors_put

Set CORS rules for a bucket.

custom_domains (5)

POSTcustom_domains_create

Register a custom domain for a bucket.

DELETEcustom_domains_delete

Remove a custom domain from a bucket.

GETcustom_domains_get

Get details of a custom domain.

GETcustom_domains_list

List custom domains for a bucket.

PUTcustom_domains_update

Update custom domain configuration.

event_notifications (4)

PUTevent_notifications_create

Create event notification rules for a bucket.

DELETEevent_notifications_delete

Delete event notification rules.

GETevent_notifications_get

Get a specific event notification rule.

GETevent_notifications_list

List event notification rules for a bucket.

lifecycle (2)

GETlifecycle_get

Get object lifecycle rules for a bucket.

PUTlifecycle_put

Set object lifecycle rules for a bucket.

locks (2)

GETlock_get

Get lock rules for a bucket.

PUTlock_put

Set lock policies for a bucket.

managed_domains (2)

GETmanaged_domain_get

Get state of r2.dev public access for a bucket.

PUTmanaged_domain_update

Configure r2.dev domain access for a bucket.

metrics (1)

GETmetrics_get

Get storage metrics across all buckets.

sippy (3)

DELETEsippy_delete

Disable Sippy migration for a bucket.

GETsippy_get

Get Sippy migration configuration for a bucket.

PUTsippy_put

Configure Sippy migration for a bucket.

temp_credentials (1)

POSTtemp_credentials_create

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