Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare R2 Object API

6 actions 6 updates phrasing extends openapi/cloudflare-r2-object-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for Cloudflare's API. It is a proposal applied on top of the contract, not a document Cloudflare publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 6

$.info
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects'].get
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects'].delete
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}'].get
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}'].put
$.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}'].delete

OpenAPI Overlay

Raw ↑
# 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 Object API
  version: 1.0.0
extends: openapi/cloudflare-r2-object-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-23'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 5
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects'].get
  update:
    x-apievangelist-phrasing:
      intent: List objects in an R2 bucket
      effect: read
      questions:
      - What files are stored in my R2 bucket?
      - Can I list only the objects whose key starts with a prefix?
      instructions:
      - text: List objects in bucket {bucket_name} on account {account_id}.
        slots:
          bucket_name: path.bucket_name
          account_id: path.account_id
      - text: List objects in {bucket_name} on {account_id} starting after {start_after}.
        slots:
          bucket_name: path.bucket_name
          account_id: path.account_id
          start_after: query.start_after
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete objects from a bucket
      effect: destructive
      questions:
      - How do I remove several objects from an R2 bucket at once?
      - What happens if some object keys in my delete list don't exist?
      instructions:
      - text: Delete these objects from bucket {bucket_name} in account {account_id}.
        slots:
          bucket_name: path.bucket_name
          account_id: path.account_id
      - text: Remove everything matching {prefix} from R2 bucket {bucket_name}.
        slots:
          prefix: query.prefix
          bucket_name: path.bucket_name
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}'].get
  update:
    x-apievangelist-phrasing:
      intent: Download an object from an R2 bucket
      effect: read
      questions:
      - How do I download a file from my R2 bucket?
      - Can I fetch an R2 object only if it changed since a given date?
      instructions:
      - text: Get object {object_key} from {bucket_name} on account {account_id}.
        slots:
          object_key: path.object_key
          bucket_name: path.bucket_name
          account_id: path.account_id
      - text: Download {object_key} in {bucket_name} for {account_id}.
        slots:
          object_key: path.object_key
          bucket_name: path.bucket_name
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}'].put
  update:
    x-apievangelist-phrasing:
      intent: Upload an object to an R2 bucket
      effect: write
      questions:
      - How do I upload a file to an R2 bucket?
      - What is the maximum size of an object I can upload to R2?
      instructions:
      - text: Upload {object_key} to {bucket_name} on account {account_id}.
        slots:
          object_key: path.object_key
          bucket_name: path.bucket_name
          account_id: path.account_id
      - text: Put {object_key} in {bucket_name} for {account_id} with storage class {storage_class}.
        slots:
          object_key: path.object_key
          bucket_name: path.bucket_name
          account_id: path.account_id
          storage_class: header.cf-r2-storage-class
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/r2/buckets/{bucket_name}/objects/{object_key}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete one object from an R2 bucket
      effect: destructive
      questions:
      - How do I delete a single file from an R2 bucket?
      - Can I remove one object without touching the rest of the bucket?
      instructions:
      - text: Delete object {object_key} from {bucket_name} on account {account_id}.
        slots:
          object_key: path.object_key
          bucket_name: path.bucket_name
          account_id: path.account_id
      - text: Remove {object_key} in {bucket_name} for {account_id}.
        slots:
          object_key: path.object_key
          bucket_name: path.bucket_name
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'

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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-r2-object-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.