Generated by API Evangelist
Written by API Evangelist tooling for Cloudflare R2's API. It is a proposal applied on top of the contract, not a document Cloudflare R2 publishes.
# 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 Cloudflare Table Maintenance Configuration API
version: 1.0.0
extends: openapi/cloudflare-r2-table-maintenance-configuration-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 2
- target: $.paths['/accounts/{account_id}/r2-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs'].get
update:
x-apievangelist-phrasing:
intent: Get a table's compaction settings
effect: read
questions:
- Is compaction enabled on my R2 table?
- How do I see the maintenance config for a table?
instructions:
- text: Show the maintenance config for table {table_name} in {bucket_name} namespace {namespace} on account {account_id}.
slots:
table_name: path.table_name
bucket_name: path.bucket_name
namespace: path.namespace
account_id: path.account_id
- text: Get compaction settings for {table_name} in {bucket_name}, namespace {namespace}, account {account_id}.
slots:
table_name: path.table_name
bucket_name: path.bucket_name
namespace: path.namespace
account_id: path.account_id
method: generated
generated: '2026-11-17'
- target: $.paths['/accounts/{account_id}/r2-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs'].post
update:
x-apievangelist-phrasing:
intent: Update a table's maintenance settings
effect: write
questions:
- How do I turn on compaction for a table?
- Can I change how big files get before compaction runs?
instructions:
- text: Set compaction on table {table_name} in {bucket_name} namespace {namespace} on account {account_id} to {compaction}.
slots:
table_name: path.table_name
bucket_name: path.bucket_name
namespace: path.namespace
account_id: path.account_id
compaction: requestBody.compaction
- text: Update the maintenance config of {table_name} in {bucket_name}, namespace {namespace}, account {account_id}, to snapshot expiration {snapshot_expiration}.
slots:
table_name: path.table_name
bucket_name: path.bucket_name
namespace: path.namespace
account_id: path.account_id
snapshot_expiration: requestBody.snapshot_expiration
method: generated
generated: '2026-11-17'
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.