Cloudflare · OpenAPI Overlay 1.0.0
API Evangelist conversational phrasing for Cloudflare Magic Static Routes API
8 actions
8 updates
phrasing
extends
openapi/cloudflare-magic-static-routes-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.
What the actions change
x-apievangelist-phrasing
Targets 8
$.info
$.paths['/accounts/{account_id}/magic/routes'].get
$.paths['/accounts/{account_id}/magic/routes'].put
$.paths['/accounts/{account_id}/magic/routes'].post
$.paths['/accounts/{account_id}/magic/routes'].delete
$.paths['/accounts/{account_id}/magic/routes/{route_id}'].get
$.paths['/accounts/{account_id}/magic/routes/{route_id}'].put
$.paths['/accounts/{account_id}/magic/routes/{route_id}'].delete
OpenAPI Overlay
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Cloudflare Magic Static Routes API
version: 1.0.0
extends: openapi/cloudflare-magic-static-routes-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: 7
- target: $.paths['/accounts/{account_id}/magic/routes'].get
update:
x-apievangelist-phrasing:
intent: List Magic static routes
effect: read
questions:
- Which Magic static routes are configured for my Magic Transit account?
- Can I see all static routes in one account?
instructions:
- text: List Magic static routes in account {account_id}.
slots:
account_id: path.account_id
- text: Show every static route for Magic Transit account {account_id}.
slots:
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/routes'].put
update:
x-apievangelist-phrasing:
intent: Update many Magic static routes
effect: write
questions:
- How do I change several Magic static routes at once?
- Can I validate a batch of Magic static route updates without saving them?
instructions:
- text: Update Magic static routes {routes} in account {account_id}.
slots:
routes: requestBody.routes
account_id: path.account_id
- text: Validate Magic static route changes {routes} for account {account_id} without saving.
slots:
routes: requestBody.routes
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/routes'].post
update:
x-apievangelist-phrasing:
intent: Create a Magic static route
effect: write
questions:
- How do I add a new static route to Magic Transit?
- Can I set a priority and next hop when creating a Magic static route?
instructions:
- text: Create Magic static route {prefix} to {nexthop} with priority {priority} in account {account_id}.
slots:
prefix: requestBody.prefix
nexthop: requestBody.nexthop
priority: requestBody.priority
account_id: path.account_id
- text: Add a Magic static route {prefix} next-hop {nexthop}, priority {priority}, scope {scope}, weight {weight}, in account {account_id}.
slots:
prefix: requestBody.prefix
nexthop: requestBody.nexthop
priority: requestBody.priority
scope: requestBody.scope
weight: requestBody.weight
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/routes'].delete
update:
x-apievangelist-phrasing:
intent: Delete many Magic static routes
effect: destructive
questions:
- How do I remove several Magic static routes at once?
- Can I delete a batch of Magic static routes from an account?
instructions:
- text: Delete Magic static routes {routes} from account {account_id}.
slots:
routes: requestBody.routes
account_id: path.account_id
- text: Remove the batch of Magic static routes {routes} in account {account_id}.
slots:
routes: requestBody.routes
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/routes/{route_id}'].get
update:
x-apievangelist-phrasing:
intent: Get a Magic static route
effect: read
questions:
- What next hop and priority does one Magic static route have?
- Can I look up a single Magic static route by ID?
instructions:
- text: Show Magic static route {route_id} in account {account_id}.
slots:
route_id: path.route_id
account_id: path.account_id
- text: Get the next hop and priority of Magic static route {route_id} for account {account_id}.
slots:
route_id: path.route_id
account_id: path.account_id
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/routes/{route_id}'].put
update:
x-apievangelist-phrasing:
intent: Update a Magic static route
effect: write
questions:
- How do I change the next hop of one Magic static route?
- Can I raise the priority of a single Magic static route?
instructions:
- text: Update Magic static route {route_id} in account {account_id} to next hop {nexthop} with priority {priority}.
slots:
route_id: path.route_id
account_id: path.account_id
nexthop: requestBody.nexthop
priority: requestBody.priority
- text: Change the priority of Magic static route {route_id} in account {account_id} to {priority}, next hop {nexthop}.
slots:
route_id: path.route_id
account_id: path.account_id
priority: requestBody.priority
nexthop: requestBody.nexthop
method: generated
generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/magic/routes/{route_id}'].delete
update:
x-apievangelist-phrasing:
intent: Delete a Magic static route
effect: destructive
questions:
- How do I remove one Magic static route?
- Can I disable a single static route without touching the others?
instructions:
- text: Delete Magic static route {route_id} from account {account_id}.
slots:
route_id: path.route_id
account_id: path.account_id
- text: Disable and remove Magic static route {route_id} in account {account_id}.
slots:
route_id: path.route_id
account_id: path.account_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.
Call it yourself
curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-magic-static-routes-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.