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 WAF rules API
version: 1.0.0
extends: openapi/cloudflare-waf-rules-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: 3
- target: $.paths['/zones/{zone_id}/firewall/waf/packages/{package_id}/rules'].get
update:
x-apievangelist-phrasing:
intent: List rules in a WAF package
effect: read
questions:
- Which rules are in a WAF package?
- Can I list only the rules in a package that match a description?
instructions:
- text: List the rules in WAF package {package_id} for zone {zone_id}.
slots:
package_id: path.package_id
zone_id: path.zone_id
- text: Show rules in package {package_id} matching {match}.
slots:
package_id: path.package_id
match: query.match
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/waf/packages/{package_id}/rules/{rule_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a WAF rule
effect: read
questions:
- What action and priority does a specific WAF rule have?
- Can I look up one rule in a WAF package by its ID?
instructions:
- text: Get rule {rule_id} from WAF package {package_id} in zone {zone_id}.
slots:
rule_id: path.rule_id
package_id: path.package_id
zone_id: path.zone_id
- text: Show the action and priority of rule {rule_id} in package {package_id}.
slots:
rule_id: path.rule_id
package_id: path.package_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/waf/packages/{package_id}/rules/{rule_id}'].patch
update:
x-apievangelist-phrasing:
intent: Change a WAF rule's mode or action
effect: write
questions:
- Can I change whether a WAF rule blocks or logs traffic?
- What can I update on a WAF rule?
instructions:
- text: Set the mode of rule {rule_id} in package {package_id} to {mode}.
slots:
rule_id: path.rule_id
package_id: path.package_id
mode: requestBody.mode
- text: Change the action of WAF rule {rule_id} in zone {zone_id}.
slots:
rule_id: path.rule_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.