How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cloudflare R2 R2 Account API

The R2 Account API from Cloudflare R2 — 1 operation(s) for r2 account.

Cloudflare R2 R2 Account API is one of 14 APIs that Cloudflare R2 publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include R2 Account. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 1 operation across 1 path, and defines 8 schemas. It is described by OpenAPI 3.2.0, at version 4.0.0.

Requests are made against a single base URL, https://api.cloudflare.com/client/v4.

1 operations 1 paths 8 schemas 1 GET

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
4.0.0
Base URL
https://.r2.cloudflarestorage.com
Authentication
API Key, API Key, HTTP Bearer, API Key
Terms of Service
Resource Areas
1

Authentication & Security 4

Cloudflare R2 R2 Account API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Email (api_email). An API key is passed in the header as X-Auth-Key (api_key). It accepts HTTP bearer tokens (api_token). An API key is passed in the header as X-Auth-User-Service-Key (user_service_key).

Paths & Operations 1

Across 1 path, the API surfaces 1 operation — 1 GET. Each is listed below with its method, path, parameters, and response codes.

R2 Account 1
GET
/accounts/{account_id}/r2/metrics
Get Account-Level Metrics
r2-get-account-level-metrics 1 param → 4XX200

Schemas 8

The contract defines 8 schemas that model the data the API accepts and returns. The most detailed are r2_v4_response (4 properties), r2_v4_response_failure (4 properties), r2_object_size_metrics (3 properties), r2_account_level_metrics (2 properties). Each schema is shown below with its type and property counts.

r2_errors
array
r2_account_level_metrics
object
Metrics based on the class they belong to.
2 properties
r2_v4_response
object
4 properties 4 required
r2_messages
array
r2_v4_response_failure
object
4 properties 4 required
r2_object_size_metrics
object
Metrics on number of objects/amount of storage used.
3 properties
r2_account_identifier
string
Account ID.
r2_class_based_metrics
object
Metrics based on what state they are in(uploaded or published).
2 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cloudflare-r2-r2-account-api-openapi.yml Raw ↑

Other APIs Cloudflare R2 publishes across the network.

Cloudflare R2 Buckets API
Cloudflare R2 CORS API
Cloudflare R2 Credential Management API
Cloudflare R2 Lifecycle API
Cloudflare R2 Maintenance Configuration API
Cloudflare R2 Multipart Upload API
Cloudflare R2 Namespace Management API
Cloudflare R2 Objects API
Cloudflare R2 R2 Bucket API
Cloudflare R2 R2 Catalog Management API
Cloudflare R2 R2 Object API
Cloudflare R2 Table Maintenance Configuration API
Where this information came from

This is an independent, third-party profile of Cloudflare R2 R2 Account API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.