Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare Token Validation Token Rules API

9 actions 9 updates phrasing extends openapi/cloudflare-token-validation-token-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 9

$.info
$.paths['/zones/{zone_id}/token_validation/rules'].get
$.paths['/zones/{zone_id}/token_validation/rules'].post
$.paths['/zones/{zone_id}/token_validation/rules/bulk'].post
$.paths['/zones/{zone_id}/token_validation/rules/bulk'].patch
$.paths['/zones/{zone_id}/token_validation/rules/preview'].post
$.paths['/zones/{zone_id}/token_validation/rules/{rule_id}'].get
$.paths['/zones/{zone_id}/token_validation/rules/{rule_id}'].delete
$.paths['/zones/{zone_id}/token_validation/rules/{rule_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 Token Validation Token Rules API
  version: 1.0.0
extends: openapi/cloudflare-token-validation-token-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: 8
- target: $.paths['/zones/{zone_id}/token_validation/rules'].get
  update:
    x-apievangelist-phrasing:
      intent: List token validation rules
      effect: read
      questions:
      - Which token validation rules are configured on my zone?
      - Can I list only the disabled token validation rules?
      instructions:
      - text: List token validation rules in zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show token validation rules on {zone_id} with action {action}.
        slots:
          zone_id: path.zone_id
          action: query.action
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a token validation rule
      effect: write
      questions:
      - How do I require a JWT for a path using token validation?
      - Can I set a token validation rule to be disabled when I create it?
      instructions:
      - text: Create a token validation rule in zone {zone_id} with expression {expression}.
        slots:
          zone_id: path.zone_id
          expression: requestBody.expression
      - text: Add a token validation rule {title} on {zone_id} that blocks requests failing {expression}.
        slots:
          title: requestBody.title
          zone_id: path.zone_id
          expression: requestBody.expression
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules/bulk'].post
  update:
    x-apievangelist-phrasing:
      intent: Create many token validation rules at once
      effect: write
      questions:
      - Can I create several token validation rules in one request?
      - Is there a bulk way to load token validation rules into a zone?
      instructions:
      - text: Create multiple token validation rules in zone {zone_id} in one request.
        slots:
          zone_id: path.zone_id
      - text: Bulk add a batch of token validation rules to {zone_id}.
        slots:
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules/bulk'].patch
  update:
    x-apievangelist-phrasing:
      intent: Reorder and update many token validation rules
      effect: write
      questions:
      - How do I change the order of several token validation rules?
      - Can I edit multiple token validation rules in a single request?
      instructions:
      - text: Reorder and update the token validation rules in zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Bulk edit the token validation rules on {zone_id} and return the updated list.
        slots:
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules/preview'].post
  update:
    x-apievangelist-phrasing:
      intent: Preview a token validation rule's coverage
      effect: read
      questions:
      - Which operations would a token validation rule cover before I create it?
      - Can I preview a rule's include and exclude list against my zone's operations?
      instructions:
      - text: Preview a token validation rule on {zone_id} for host {host}.
        slots:
          zone_id: path.zone_id
          host: query.host
      - text: Show which operations a rule would include or exclude on {zone_id} for method {method}.
        slots:
          zone_id: path.zone_id
          method: query.method
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules/{rule_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a token validation rule
      effect: read
      questions:
      - What expression and action does one token validation rule use?
      - Can I fetch a single token validation rule by ID?
      instructions:
      - text: Get token validation rule {rule_id} in zone {zone_id}.
        slots:
          rule_id: path.rule_id
          zone_id: path.zone_id
      - text: Show the expression of token validation rule {rule_id} on {zone_id}.
        slots:
          rule_id: path.rule_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules/{rule_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a token validation rule
      effect: destructive
      questions:
      - How do I remove a token validation rule from my zone?
      - Can I delete a single token validation rule by ID?
      instructions:
      - text: Delete token validation rule {rule_id} from zone {zone_id}.
        slots:
          rule_id: path.rule_id
          zone_id: path.zone_id
      - text: Remove the token validation rule {rule_id} on {zone_id}.
        slots:
          rule_id: path.rule_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/token_validation/rules/{rule_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Edit a token validation rule
      effect: write
      questions:
      - Can I change the expression of an existing token validation rule?
      - Is it possible to move a token validation rule up or down in the zone's rule list?
      instructions:
      - text: Update the expression of token validation rule {rule_id} in zone {zone_id} to {expression}.
        slots:
          rule_id: path.rule_id
          zone_id: path.zone_id
          expression: requestBody.expression
      - text: Move token validation rule {rule_id} on {zone_id} to position {position}.
        slots:
          rule_id: path.rule_id
          zone_id: path.zone_id
          position: requestBody.position
      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-token-validation-token-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.