How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Cloudflare Gateways API

Create, list, update, and delete AI Gateway instances.

Cloudflare Gateways API is one of 87 APIs that Cloudflare publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Gateways. The published artifact set on APIs.io includes an OpenAPI specification, an AsyncAPI specification, API documentation, a getting-started guide, authentication docs, and rate-limit docs.

This API exposes 5 operations across 2 paths, and defines 4 schemas. It is described by OpenAPI 3.2.0, at version 4.0.0.

Requests are made against a single base URL, https://api.cloudflare.com/client/v4.

5 operations 2 paths 4 schemas 1 DELETE2 GET1 POST1 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
4.0.0
Base URL
https://api.cloudflare.com
Authentication
API Key, API Key, HTTP Bearer, API Key
Resource Areas
1

Authentication & Security 4

Cloudflare Gateways API declares 4 security schemes for authenticating requests. An API key is passed in the header as X-Auth-Email (api_email). An API key is passed in the header as X-Auth-Key (api_key). It accepts HTTP bearer tokens (api_token). An API key is passed in the header as X-Auth-User-Service-Key (user_service_key). By default, every request must be authenticated.

Paths & Operations 5

Across 2 paths, the API surfaces 5 operations — 1 DELETE, 2 GET, 1 POST, 1 PUT. Each is listed below with its method, path, parameters, and response codes.

Gateways 5

Create, list, update, and delete AI Gateway instances.

GET
/accounts/{account_id}/ai-gateway/gateways
Cloudflare List Ai Gateways
listAiGateways 1 param → 200401
POST
/accounts/{account_id}/ai-gateway/gateways
Cloudflare Create Ai Gateway
createAiGateway 1 param body → 200400401
GET
/accounts/{account_id}/ai-gateway/gateways/{gateway_id}
Cloudflare Get Ai Gateway
getAiGateway 2 params → 200401404
PUT
/accounts/{account_id}/ai-gateway/gateways/{gateway_id}
Cloudflare Update Ai Gateway
updateAiGateway 2 params body → 200401404
DELETE
/accounts/{account_id}/ai-gateway/gateways/{gateway_id}
Cloudflare Delete Ai Gateway
deleteAiGateway 2 params → 200401404

Schemas 4

The contract defines 4 schemas that model the data the API accepts and returns. The most detailed are Gateway (11 properties), GatewayInput (7 properties), GatewayResponse (4 properties), GatewayListResponse (2 properties). Each schema is shown below with its type and property counts.

GatewayInput
object
7 properties 1 required
GatewayListResponse
object
2 properties
Gateway
object
11 properties
GatewayResponse
object
4 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

cloudflare-gateways-api-openapi.yml Raw ↑

Other APIs Cloudflare publishes across the network.

Cloudflare Load Balancing API
Cloudflare WAF API
Cloudflare GraphQL Analytics API
Cloudflare Magic Transit API
Cloudflare Email Routing API
Cloudflare Waiting Room API
Cloudflare Spectrum API
Cloudflare API Shield API
Cloudflare Zero Trust API
Cloudflare Registrar API
Cloudflare Workflows API
Cloudflare Browser Rendering API
Where this information came from

This is an independent, third-party profile of Cloudflare Gateways API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.