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.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare Rate limits for a zone API
version: 1.0.0
extends: openapi/cloudflare-rate-limits-for-a-zone-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['/zones/{zone_id}/rate_limits'].get
update:
x-apievangelist-phrasing:
intent: List rate limiting rules
effect: read
questions:
- Which rate limiting rules are configured on my zone?
- Can I page through a zone's rate limits?
instructions:
- text: List rate limits on zone {zone_id}.
slots:
zone_id: path.zone_id
- text: Show {per_page} rate limits per page for zone {zone_id}.
slots:
per_page: query.per_page
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/rate_limits'].post
update:
x-apievangelist-phrasing:
intent: Create a rate limiting rule
effect: write
questions:
- How do I block requests that exceed a threshold over a period?
- Can I set a rate limit on a zone with a match and action?
instructions:
- text: Create a rate limit on zone {zone_id} with action {action}, match {match}, period {period} and threshold {threshold}.
slots:
zone_id: path.zone_id
action: requestBody.action
match: requestBody.match
period: requestBody.period
threshold: requestBody.threshold
- text: Block {action} requests on zone {zone_id} that match {match} after {threshold} per {period}.
slots:
action: requestBody.action
zone_id: path.zone_id
match: requestBody.match
threshold: requestBody.threshold
period: requestBody.period
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/rate_limits/{rate_limit_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a rate limiting rule
effect: read
questions:
- What threshold and action does one rate limit use?
- Can I fetch a single rate limit on a zone?
instructions:
- text: Get rate limit {rate_limit_id} on zone {zone_id}.
slots:
rate_limit_id: path.rate_limit_id
zone_id: path.zone_id
- text: Show the action and match of rate limit {rate_limit_id} in zone {zone_id}.
slots:
rate_limit_id: path.rate_limit_id
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/rate_limits/{rate_limit_id}'].put
update:
x-apievangelist-phrasing:
intent: Update a rate limiting rule
effect: write
questions:
- Can I change the threshold of an existing rate limit?
- How do I modify a rate limit's action or match?
instructions:
- text: Update rate limit {rate_limit_id} on zone {zone_id} to action {action}, match {match}, period {period} and threshold {threshold}.
slots:
rate_limit_id: path.rate_limit_id
zone_id: path.zone_id
action: requestBody.action
match: requestBody.match
period: requestBody.period
threshold: requestBody.threshold
- text: Change existing rate limit {rate_limit_id} in zone {zone_id} to block {action} requests matching {match} after {threshold} per {period}.
slots:
rate_limit_id: path.rate_limit_id
zone_id: path.zone_id
action: requestBody.action
match: requestBody.match
threshold: requestBody.threshold
period: requestBody.period
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/rate_limits/{rate_limit_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a rate limiting rule
effect: destructive
questions:
- How do I remove a rate limit from a zone?
- Can I delete a rate limiting rule I no longer need?
instructions:
- text: Delete rate limit {rate_limit_id} from zone {zone_id}.
slots:
rate_limit_id: path.rate_limit_id
zone_id: path.zone_id
- text: Remove the rate limit {rate_limit_id} on zone {zone_id}.
slots:
rate_limit_id: path.rate_limit_id
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
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.