Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare AI Gateway Logs API

7 actions 7 updates phrasing extends openapi/cloudflare-ai-gateway-logs-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['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs'].get
$.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs'].delete
$.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}'].get
$.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}'].patch
$.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/request'].get
$.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/response'].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 AI Gateway Logs API
  version: 1.0.0
extends: openapi/cloudflare-ai-gateway-logs-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['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs'].get
  update:
    x-apievangelist-phrasing:
      intent: List AI Gateway request and response logs
      effect: read
      questions:
      - How do I see the requests and responses my AI Gateway handled?
      - Can I filter gateway logs by model, cost or success?
      - Which gateway log entries were cached or took the longest to respond?
      instructions:
      - text: List gateway logs for gateway {gateway_id} in account {account_id}.
        slots:
          gateway_id: path.gateway_id
          account_id: path.account_id
      - text: Show gateway logs in account {account_id} for gateway {gateway_id} matching {filters}.
        slots:
          account_id: path.account_id
          gateway_id: path.gateway_id
          filters: query.filters
      - text: List gateway logs for gateway {gateway_id} in account {account_id} between {start_date} and {end_date}.
        slots:
          gateway_id: path.gateway_id
          account_id: path.account_id
          start_date: query.start_date
          end_date: query.end_date
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete AI Gateway logs
      effect: destructive
      questions:
      - How do I clear old AI Gateway logs?
      - Can I delete only the failed or cached gateway log entries?
      instructions:
      - text: Delete gateway logs for gateway {gateway_id} in account {account_id}.
        slots:
          gateway_id: path.gateway_id
          account_id: path.account_id
      - text: Clear gateway logs in account {account_id} for gateway {gateway_id} matching {filters}.
        slots:
          account_id: path.account_id
          gateway_id: path.gateway_id
          filters: query.filters
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an AI Gateway log entry
      effect: read
      questions:
      - What was the full request and response for one AI Gateway log entry?
      - Can I see the metadata on a single gateway log entry?
      instructions:
      - text: Get gateway log entry {id} for gateway {gateway_id} in account {account_id}.
        slots:
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
      - text: Show the details of gateway log {id} on gateway {gateway_id} in account {account_id}.
        slots:
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update metadata on an AI Gateway log
      effect: write
      questions:
      - How do I add a score or feedback to an AI Gateway log entry?
      - Can I attach custom metadata to a gateway log?
      instructions:
      - text: Set feedback {feedback} on gateway log {id} for gateway {gateway_id} in account {account_id}.
        slots:
          feedback: requestBody.feedback
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
      - text: Score gateway log {id} on gateway {gateway_id} in account {account_id} with {score}.
        slots:
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
          score: requestBody.score
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/request'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the request behind a gateway log entry
      effect: read
      questions:
      - What prompt did my AI Gateway actually receive for a log entry?
      - Can I retrieve the original request payload for a gateway log?
      instructions:
      - text: Get the request for gateway log {id} on gateway {gateway_id} in account {account_id}.
        slots:
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
      - text: Show the original request behind gateway log {id} for gateway {gateway_id} in account {account_id}.
        slots:
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/gateways/{gateway_id}/logs/{id}/response'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the response from a gateway log entry
      effect: read
      questions:
      - What did the AI Gateway reply for a log entry?
      - Can I fetch the response payload a gateway log entry produced?
      instructions:
      - text: Get the response for gateway log {id} on gateway {gateway_id} in account {account_id}.
        slots:
          id: path.id
          gateway_id: path.gateway_id
          account_id: path.account_id
      - text: Show the AI response from gateway log {id} for gateway {gateway_id} in account {account_id}.
        slots:
          id: path.id
          gateway_id: path.gateway_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.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/cloudflare-ai-gateway-logs-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.