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 rule groups API
version: 1.0.0
extends: openapi/cloudflare-waf-rule-groups-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}/groups'].get
update:
x-apievangelist-phrasing:
intent: List WAF rule groups in a managed rules package
effect: read
questions:
- Which rule groups are in my managed WAF package?
- Can I list only the rule groups with a certain number of rules?
instructions:
- text: List rule groups in package {package_id} for zone {zone_id}.
slots:
package_id: path.package_id
zone_id: path.zone_id
- text: Show rule groups in package {package_id} for zone {zone_id} with {rules_count} rules.
slots:
package_id: path.package_id
zone_id: path.zone_id
rules_count: query.rules_count
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a WAF rule group
effect: read
questions:
- What state and rules does one managed WAF rule group have?
- Can I look up a single rule group by its ID?
instructions:
- text: Get rule group {group_id} in package {package_id} for zone {zone_id}.
slots:
group_id: path.group_id
package_id: path.package_id
zone_id: path.zone_id
- text: Show the details of WAF rule group {group_id} in package {package_id} on zone {zone_id}.
slots:
group_id: path.group_id
package_id: path.package_id
zone_id: path.zone_id
method: generated
generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/waf/packages/{package_id}/groups/{group_id}'].patch
update:
x-apievangelist-phrasing:
intent: Turn a managed WAF rule group on or off
effect: write
questions:
- How do I turn a managed WAF rule group on or off?
- Can I change the mode of a single rule group?
instructions:
- text: Set rule group {group_id} in package {package_id} for zone {zone_id} to mode {mode}.
slots:
group_id: path.group_id
package_id: path.package_id
zone_id: path.zone_id
mode: requestBody.mode
- text: Turn WAF rule group {group_id} in package {package_id} on zone {zone_id} to {mode}.
slots:
group_id: path.group_id
package_id: path.package_id
zone_id: path.zone_id
mode: requestBody.mode
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.