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 Object API

The R2 Object API from Cloudflare R2 — 2 operation(s) for r2 object.

Cloudflare R2 R2 Object 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 Object. The published artifact set on APIs.io includes an OpenAPI specification and API documentation.

This API exposes 5 operations across 2 paths, and defines 14 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.

5 operations 2 paths 14 schemas 2 DELETE2 GET1 PUT

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 Object 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 5

Across 2 paths, the API surfaces 5 operations — 2 DELETE, 2 GET, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

R2 Object 5
DELETE
/accounts/{account_id}/r2/buckets/{bucket_name}/objects
Delete Objects
r2-delete-objects 4 params body → 4XX200
GET
/accounts/{account_id}/r2/buckets/{bucket_name}/objects
List Objects
r2-list-objects 8 params → 4XX200
DELETE
/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}
Delete Object
r2-delete-object 4 params → 4XX200
GET
/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}
Get Object
r2-get-object 6 params → 4XX200304
PUT
/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}
Upload Object
r2-put-object 7 params body → 4XX200

Schemas 14

The contract defines 14 schemas that model the data the API accepts and returns. The most detailed are r2_r2_object (8 properties), r2_r2_delete_objects_by_prefix_result (6 properties), r2_r2_object_http_metadata (6 properties), r2_r2_put_object_result (6 properties). Each schema is shown below with its type and property counts.

r2_errors
array
r2_bucket_name
string
Name of the bucket.
r2_r2_list_objects_result_info
object
Pagination information for list objects responses.
4 properties
r2_v4_response
object
4 properties 4 required
r2_r2_object_http_metadata
object
HTTP metadata associated with an R2 object.
6 properties
r2_messages
array
r2_v4_response_failure
object
4 properties 4 required
r2_r2_delete_object_result
object
Result of a successful object deletion.
1 property
r2_r2_put_object_result
object
Result of a successful object upload.
6 properties
r2_jurisdiction
string
Jurisdiction where objects in this bucket are guaranteed to be stored.
r2_account_identifier
string
Account ID.
r2_r2_delete_objects_by_prefix_result
object
Descriptor of an asynchronous prefix-delete job, returned when the bulk delete-objects endpoint is invoked with a prefix query parameter.
6 properties
r2_storage_class
string
Storage class for newly uploaded objects, unless specified otherwise.
r2_r2_object
object
Metadata for an R2 object.
8 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cloudflare-r2-r2-object-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 Account API
Cloudflare R2 R2 Bucket API
Cloudflare R2 R2 Catalog Management API
Cloudflare R2 Table Maintenance Configuration API
Where this information came from

This is an independent, third-party profile of Cloudflare R2 R2 Object 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.