Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare Page Rules API

7 actions 7 updates phrasing extends openapi/cloudflare-page-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 7

$.info
$.paths['/zones/{zone_id}/pagerules'].get
$.paths['/zones/{zone_id}/pagerules'].post
$.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].get
$.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].put
$.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].delete
$.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].patch

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 Page Rules API
  version: 1.0.0
extends: openapi/cloudflare-page-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: 6
- target: $.paths['/zones/{zone_id}/pagerules'].get
  update:
    x-apievangelist-phrasing:
      intent: List Page Rules in a zone
      effect: read
      questions:
      - What Page Rules are configured on my zone?
      - Can I list only the active Page Rules?
      instructions:
      - text: List Page Rules in zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show Page Rules in {zone_id} matching {match}.
        slots:
          zone_id: path.zone_id
          match: query.match
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/pagerules'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a Page Rule
      effect: write
      questions:
      - How do I redirect all requests to a URL with a Page Rule?
      - Can I set a priority when creating a Page Rule?
      instructions:
      - text: Create a Page Rule in {zone_id} targeting {targets} with actions {actions}.
        slots:
          zone_id: path.zone_id
          targets: requestBody.targets
          actions: requestBody.actions
      - text: Add a Page Rule in {zone_id} with priority {priority}, targets {targets}, actions {actions}.
        slots:
          zone_id: path.zone_id
          priority: requestBody.priority
          targets: requestBody.targets
          actions: requestBody.actions
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a Page Rule
      effect: read
      questions:
      - What actions and targets does a specific Page Rule have?
      - Can I fetch one Page Rule by its ID?
      instructions:
      - text: Get Page Rule {pagerule_id} in zone {zone_id}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
      - text: Show the configuration of Page Rule {pagerule_id} in {zone_id}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Replace a Page Rule's configuration
      effect: write
      questions:
      - How do I overwrite a Page Rule's actions and targets completely?
      - Does updating a Page Rule replace its whole configuration?
      instructions:
      - text: Replace Page Rule {pagerule_id} in {zone_id} with targets {targets} and actions {actions}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
          targets: requestBody.targets
          actions: requestBody.actions
      - text: Overwrite Page Rule {pagerule_id} in {zone_id} with priority {priority}, targets {targets}, actions {actions}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
          priority: requestBody.priority
          targets: requestBody.targets
          actions: requestBody.actions
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a Page Rule
      effect: destructive
      questions:
      - How do I remove a Page Rule from my zone?
      - Can I delete a Page Rule by its ID?
      instructions:
      - text: Delete Page Rule {pagerule_id} from zone {zone_id}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
      - text: Remove Page Rule {pagerule_id} in {zone_id}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/pagerules/{pagerule_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit fields of a Page Rule
      effect: write
      questions:
      - Can I change just the priority of a Page Rule without resending its targets?
      - How do I pause a Page Rule without deleting it?
      instructions:
      - text: Set the priority of Page Rule {pagerule_id} in {zone_id} to {priority}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
          priority: requestBody.priority
      - text: Change the status of Page Rule {pagerule_id} in {zone_id} to {status}.
        slots:
          pagerule_id: path.pagerule_id
          zone_id: path.zone_id
          status: requestBody.status
      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-page-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.