Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare Client-Side Security API

14 actions 14 updates phrasing extends openapi/cloudflare-client-side-security-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 14

$.info
$.paths['/zones/{zone_id}/page_shield'].get
$.paths['/zones/{zone_id}/page_shield'].put
$.paths['/zones/{zone_id}/page_shield/connections'].get
$.paths['/zones/{zone_id}/page_shield/connections/{connection_id}'].get
$.paths['/zones/{zone_id}/page_shield/cookies'].get
$.paths['/zones/{zone_id}/page_shield/cookies/{cookie_id}'].get
$.paths['/zones/{zone_id}/page_shield/policies'].get
$.paths['/zones/{zone_id}/page_shield/policies'].post
$.paths['/zones/{zone_id}/page_shield/policies/{policy_id}'].get
$.paths['/zones/{zone_id}/page_shield/policies/{policy_id}'].put
$.paths['/zones/{zone_id}/page_shield/policies/{policy_id}'].delete
$.paths['/zones/{zone_id}/page_shield/scripts'].get
$.paths['/zones/{zone_id}/page_shield/scripts/{script_id}'].get

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 Client-Side Security API
  version: 1.0.0
extends: openapi/cloudflare-client-side-security-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: 13
- target: $.paths['/zones/{zone_id}/page_shield'].get
  update:
    x-apievangelist-phrasing:
      intent: Get client-side security settings
      effect: read
      questions:
      - Is client-side security enabled on my zone?
      - Where are CSP reports from client-side security sent?
      instructions:
      - text: Show the client-side security settings for zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Get the Page Shield enablement and reporting behavior for zone {zone_id}.
        slots:
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield'].put
  update:
    x-apievangelist-phrasing:
      intent: Update client-side security settings
      effect: write
      questions:
      - How do I turn client-side security on for a zone?
      - Can I make CSP reports go to a custom endpoint instead of Cloudflare's?
      instructions:
      - text: Enable client-side security for zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Set client-side security reporting to {use_cloudflare_reporting_endpoint} for zone {zone_id}.
        slots:
          use_cloudflare_reporting_endpoint: requestBody.use_cloudflare_reporting_endpoint
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/connections'].get
  update:
    x-apievangelist-phrasing:
      intent: List outbound connections detected on pages
      effect: read
      questions:
      - Which outbound connections are my webpages making?
      - Can I list only malicious connections detected by Page Shield?
      instructions:
      - text: List the outbound connections detected on zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show connections from zone {zone_id} on page {page_url}.
        slots:
          zone_id: path.zone_id
          page_url: query.page_url
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/connections/{connection_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one detected connection
      effect: read
      questions:
      - What exactly did Page Shield detect for a single connection?
      - Can I look up one connection by its ID?
      instructions:
      - text: Get connection {connection_id} in zone {zone_id}.
        slots:
          connection_id: path.connection_id
          zone_id: path.zone_id
      - text: Show the details of detected connection {connection_id} on zone {zone_id}.
        slots:
          connection_id: path.connection_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/cookies'].get
  update:
    x-apievangelist-phrasing:
      intent: List cookies detected on pages
      effect: read
      questions:
      - Which cookies are my webpages setting?
      - Can I list only secure or HttpOnly cookies?
      instructions:
      - text: List the cookies detected on zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show cookies on zone {zone_id} that are HttpOnly.
        slots:
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/cookies/{cookie_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one detected cookie
      effect: read
      questions:
      - What are the details of a single cookie Page Shield detected?
      - Can I look up a cookie by its ID?
      instructions:
      - text: Get cookie {cookie_id} in zone {zone_id}.
        slots:
          cookie_id: path.cookie_id
          zone_id: path.zone_id
      - text: Show the details of detected cookie {cookie_id} on zone {zone_id}.
        slots:
          cookie_id: path.cookie_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/policies'].get
  update:
    x-apievangelist-phrasing:
      intent: List content security rules
      effect: read
      questions:
      - What client-side security policies are configured for my zone?
      - Which CSP rules are enabled?
      instructions:
      - text: List the content security rules for zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show every Page Shield policy on zone {zone_id}.
        slots:
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/policies'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a content security rule
      effect: write
      questions:
      - How do I block a script that matches a firewall expression?
      - Can I create a client-side security policy with a description?
      instructions:
      - text: Create a {action} policy in zone {zone_id} matching {expression}.
        slots:
          action: requestBody.action
          zone_id: path.zone_id
          expression: requestBody.expression
      - text: Add a new Page Shield policy to zone {zone_id} described as {description}.
        slots:
          zone_id: path.zone_id
          description: requestBody.description
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/policies/{policy_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a content security rule
      effect: read
      questions:
      - What action and expression does a specific policy use?
      - Can I read one content security rule by ID?
      instructions:
      - text: Get policy {policy_id} in zone {zone_id}.
        slots:
          policy_id: path.policy_id
          zone_id: path.zone_id
      - text: Show the details of Page Shield policy {policy_id} on zone {zone_id}.
        slots:
          policy_id: path.policy_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/policies/{policy_id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a content security rule
      effect: write
      questions:
      - Can I disable a content security rule without deleting it?
      - How do I change the action a policy takes?
      instructions:
      - text: Set policy {policy_id} in zone {zone_id} to enabled {enabled}.
        slots:
          policy_id: path.policy_id
          zone_id: path.zone_id
          enabled: requestBody.enabled
      - text: Change the action of policy {policy_id} on zone {zone_id} to {action}.
        slots:
          policy_id: path.policy_id
          zone_id: path.zone_id
          action: requestBody.action
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/policies/{policy_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a content security rule
      effect: destructive
      questions:
      - How do I permanently remove a content security rule?
      - Can I delete a Page Shield policy by ID?
      instructions:
      - text: Delete policy {policy_id} from zone {zone_id}.
        slots:
          policy_id: path.policy_id
          zone_id: path.zone_id
      - text: Permanently remove Page Shield policy {policy_id} on zone {zone_id}.
        slots:
          policy_id: path.policy_id
          zone_id: path.zone_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/scripts'].get
  update:
    x-apievangelist-phrasing:
      intent: List scripts detected on pages
      effect: read
      questions:
      - Which scripts are my webpages running?
      - Can I list only malicious scripts detected by Page Shield?
      instructions:
      - text: List the scripts detected on zone {zone_id}.
        slots:
          zone_id: path.zone_id
      - text: Show scripts on zone {zone_id} that are marked {status}.
        slots:
          zone_id: path.zone_id
          status: query.status
      method: generated
      generated: '2026-11-23'
- target: $.paths['/zones/{zone_id}/page_shield/scripts/{script_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one detected script
      effect: read
      questions:
      - What exactly did Page Shield detect for a single script?
      - Can I look up one script by its ID?
      instructions:
      - text: Get script {script_id} in zone {zone_id}.
        slots:
          script_id: path.script_id
          zone_id: path.zone_id
      - text: Show the details of detected script {script_id} on zone {zone_id}.
        slots:
          script_id: path.script_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-client-side-security-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.