Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare User Agent Blocking rules API

6 actions 6 updates phrasing extends openapi/cloudflare-user-agent-blocking-rules-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['/zones/{zone_id}/firewall/ua_rules'].get
$.paths['/zones/{zone_id}/firewall/ua_rules'].post
$.paths['/zones/{zone_id}/firewall/ua_rules/{ua_rule_id}'].get
$.paths['/zones/{zone_id}/firewall/ua_rules/{ua_rule_id}'].put
$.paths['/zones/{zone_id}/firewall/ua_rules/{ua_rule_id}'].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 User Agent Blocking rules API
  version: 1.0.0
extends: openapi/cloudflare-user-agent-blocking-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: 5
- target: $.paths['/zones/{zone_id}/firewall/ua_rules'].get
  update:
    x-apievangelist-phrasing:
      intent: List user agent blocking rules
      effect: read
      questions:
      - Which user agent blocking rules are in my zone?
      - Can I find the rule that blocks a specific user agent string?
      instructions:
      - text: List user agent blocking rules in zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Find the user agent rule that blocks {user_agent} in zone {zone_id}.
        slots:
          user_agent: query.user_agent
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/ua_rules'].post
  update:
    x-apievangelist-phrasing:
      intent: Block requests from a user agent
      effect: write
      questions:
      - How do I block all requests from a known bot user agent?
      - Can I pause a new user agent rule when I create it?
      instructions:
      - text: Create a user agent blocking rule in zone {zone_id} with {configuration} in {mode} mode.
        slots:
          zone_id: path.zone_id
          configuration: requestBody.configuration
          mode: requestBody.mode
      - text: Add a paused user agent rule {configuration} in zone {zone_id} with mode {mode}.
        slots:
          configuration: requestBody.configuration
          zone_id: path.zone_id
          mode: requestBody.mode
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/ua_rules/{ua_rule_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a user agent blocking rule
      effect: read
      questions:
      - What configuration does one user agent rule have?
      - Can I see whether a user agent rule is paused?
      instructions:
      - text: Show user agent rule {ua_rule_id} in zone {zone_id}.
        slots:
          ua_rule_id: path.ua_rule_id
          zone_id: path.zone_id
      - text: Get the user agent blocking rule {ua_rule_id} in zone {zone_id}.
        slots:
          ua_rule_id: path.ua_rule_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/ua_rules/{ua_rule_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a user agent blocking rule
      effect: write
      questions:
      - How do I change the user agent pattern in an existing rule?
      - Can I pause an existing user agent rule?
      instructions:
      - text: Update user agent rule {ua_rule_id} in zone {zone_id} with {configuration} in {mode} mode.
        slots:
          ua_rule_id: path.ua_rule_id
          zone_id: path.zone_id
          configuration: requestBody.configuration
          mode: requestBody.mode
      - text: Pause user agent rule {ua_rule_id} in zone {zone_id} by setting mode {mode}.
        slots:
          ua_rule_id: path.ua_rule_id
          zone_id: path.zone_id
          mode: requestBody.mode
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/firewall/ua_rules/{ua_rule_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a user agent blocking rule
      effect: destructive
      questions:
      - How do I remove a user agent blocking rule?
      - Can I delete a user agent rule by its ID?
      instructions:
      - text: Delete user agent rule {ua_rule_id} from zone {zone_id}.
        slots:
          ua_rule_id: path.ua_rule_id
          zone_id: path.zone_id
      - text: Remove the user agent blocking rule {ua_rule_id} in zone {zone_id}.
        slots:
          ua_rule_id: path.ua_rule_id
          zone_id: path.zone_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-user-agent-blocking-rules-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.