Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare AI Gateway API

16 actions 16 updates phrasing extends openapi/cloudflare-ai-gateway-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 16

$.info
$.paths['/accounts/{account_id}/ai-gateway/billing/credit-balance'].get
$.paths['/accounts/{account_id}/ai-gateway/billing/invoice-history'].get
$.paths['/accounts/{account_id}/ai-gateway/billing/invoice-preview'].get
$.paths['/accounts/{account_id}/ai-gateway/billing/spending-limit'].get
$.paths['/accounts/{account_id}/ai-gateway/billing/spending-limit'].post
$.paths['/accounts/{account_id}/ai-gateway/billing/spending-limit'].delete
$.paths['/accounts/{account_id}/ai-gateway/billing/topup'].post
$.paths['/accounts/{account_id}/ai-gateway/billing/topup/config'].get
$.paths['/accounts/{account_id}/ai-gateway/billing/topup/config'].post
$.paths['/accounts/{account_id}/ai-gateway/billing/topup/config'].delete
$.paths['/accounts/{account_id}/ai-gateway/billing/topup/eligibility'].post
$.paths['/accounts/{account_id}/ai-gateway/billing/topup/limits'].get
$.paths['/accounts/{account_id}/ai-gateway/billing/topup/status'].post
$.paths['/accounts/{account_id}/ai-gateway/billing/usage-history'].get
$.paths['/accounts/{account_id}/ai/websearch'].post

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 API
  version: 1.0.0
extends: openapi/cloudflare-ai-gateway-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: 15
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/credit-balance'].get
  update:
    x-apievangelist-phrasing:
      intent: Check my AI Gateway credit balance
      effect: read
      questions:
      - How many AI Gateway credits do I have left?
      - What payment method is on file for my AI Gateway account?
      instructions:
      - text: Show my AI Gateway credit balance for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Get the current credit balance and payment method for account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/invoice-history'].get
  update:
    x-apievangelist-phrasing:
      intent: List past AI Gateway invoices
      effect: read
      questions:
      - What AI Gateway invoices have I been charged on?
      - Can I filter my AI Gateway invoice history by type?
      instructions:
      - text: List past AI Gateway invoices for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Show {type} AI Gateway invoices for account {account_id}.
        slots:
          type: query.type
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/invoice-preview'].get
  update:
    x-apievangelist-phrasing:
      intent: Preview my upcoming AI Gateway invoice
      effect: read
      questions:
      - What will my next AI Gateway invoice include?
      - Can I see the line items and tax on my upcoming AI Gateway bill?
      instructions:
      - text: Preview the upcoming AI Gateway invoice for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Show me the line items and tax on my next AI Gateway bill for account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/spending-limit'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the AI Gateway spending limit (deprecated)
      effect: read
      questions:
      - Is there still a spending limit on my AI Gateway account?
      - Can I read the current AI Gateway spending limit?
      instructions:
      - text: Get the current AI Gateway spending limit for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Show the deprecated spending limit configuration for account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/spending-limit'].post
  update:
    x-apievangelist-phrasing:
      intent: Set an AI Gateway spending limit (deprecated)
      effect: write
      questions:
      - Can I still set a spending limit on my AI Gateway account?
      - Is the deprecated spending limit still configurable?
      instructions:
      - text: Set a {amount} spending limit on AI Gateway for account {account_id} using strategy {strategy} for {duration}.
        slots:
          amount: requestBody.amount
          account_id: path.account_id
          strategy: requestBody.strategy
          duration: requestBody.duration
      - text: Create a deprecated spending limit of {amount} for account {account_id}.
        slots:
          amount: requestBody.amount
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/spending-limit'].delete
  update:
    x-apievangelist-phrasing:
      intent: Remove the AI Gateway spending limit (deprecated)
      effect: destructive
      questions:
      - Can I remove the spending limit from my AI Gateway account?
      - Is it possible to delete the deprecated spending limit?
      instructions:
      - text: Delete the spending limit from AI Gateway for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Remove the deprecated spending limit on account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup'].post
  update:
    x-apievangelist-phrasing:
      intent: Buy more AI Gateway credits
      effect: write
      questions:
      - How do I add more credits to my AI Gateway account?
      - Can I top up AI Gateway credits with a specific payment method?
      instructions:
      - text: Buy {amount} cents of AI Gateway credits for account {account_id}.
        slots:
          amount: requestBody.amount
          account_id: path.account_id
      - text: Top up account {account_id} with {amount} cents using payment method {payment_method_id}.
        slots:
          account_id: path.account_id
          amount: requestBody.amount
          payment_method_id: requestBody.payment_method_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup/config'].get
  update:
    x-apievangelist-phrasing:
      intent: Check auto top-up settings
      effect: read
      questions:
      - Is auto top-up turned on for my AI Gateway account?
      - What balance triggers an auto top-up?
      instructions:
      - text: Show the auto top-up configuration for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Get the auto top-up threshold and amount for account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup/config'].post
  update:
    x-apievangelist-phrasing:
      intent: Set auto top-up settings
      effect: write
      questions:
      - How do I turn on auto top-up for AI Gateway?
      - Can I change the auto top-up threshold and amount?
      instructions:
      - text: Set auto top-up on account {account_id} to {amount} cents when the balance drops below {threshold}.
        slots:
          account_id: path.account_id
          amount: requestBody.amount
          threshold: requestBody.threshold
      - text: Turn on auto top-up for account {account_id} with threshold {threshold} and amount {amount}.
        slots:
          account_id: path.account_id
          threshold: requestBody.threshold
          amount: requestBody.amount
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup/config'].delete
  update:
    x-apievangelist-phrasing:
      intent: Turn off auto top-up
      effect: destructive
      questions:
      - Can I stop auto top-up for my AI Gateway account?
      - How do I remove the auto top-up configuration?
      instructions:
      - text: Delete the auto top-up configuration for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Turn off auto top-up on account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup/eligibility'].post
  update:
    x-apievangelist-phrasing:
      intent: Check if I can buy AI Gateway credits
      effect: read
      questions:
      - Why can't I buy more AI Gateway credits right now?
      - Which payment methods make an account eligible for a top-up?
      instructions:
      - text: Check top-up eligibility for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Determine whether account {account_id} can self-serve a credit top-up.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup/limits'].get
  update:
    x-apievangelist-phrasing:
      intent: Get AI Gateway top-up limits
      effect: read
      questions:
      - What is the minimum and maximum amount I can top up for AI Gateway?
      - Are there top-up limits on my account?
      instructions:
      - text: Show the AI Gateway top-up limits for account {account_id}.
        slots:
          account_id: path.account_id
      - text: Get the minimum and maximum top-up amounts for account {account_id}.
        slots:
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/topup/status'].post
  update:
    x-apievangelist-phrasing:
      intent: Check an AI Gateway top-up payment
      effect: read
      questions:
      - Has my AI Gateway top-up been charged?
      - Can I check the payment status of an AI Gateway top-up by invoice ID?
      instructions:
      - text: Check the payment status of top-up {payment_intent_id} for account {account_id}.
        slots:
          payment_intent_id: requestBody.payment_intent_id
          account_id: path.account_id
      - text: Tell me whether AI Gateway top-up {payment_intent_id} went through.
        slots:
          payment_intent_id: requestBody.payment_intent_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai-gateway/billing/usage-history'].get
  update:
    x-apievangelist-phrasing:
      intent: Get AI Gateway usage history
      effect: read
      questions:
      - How much have I used AI Gateway this month?
      - Can I see AI Gateway usage grouped by day or week?
      instructions:
      - text: Show AI Gateway usage history for account {account_id} grouped by {value_grouping_window}.
        slots:
          account_id: path.account_id
          value_grouping_window: query.value_grouping_window
      - text: Get AI Gateway usage for account {account_id} from {start_time} to {end_time} by {value_grouping_window}.
        slots:
          account_id: path.account_id
          start_time: query.start_time
          end_time: query.end_time
          value_grouping_window: query.value_grouping_window
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/ai/websearch'].post
  update:
    x-apievangelist-phrasing:
      intent: Search the web through AI Gateway
      effect: write
      questions:
      - Can I run a web search through my AI Gateway account?
      - What options can I set when searching the web with AI Gateway?
      instructions:
      - text: Search the web for {query} through AI Gateway in account {account_id}.
        slots:
          query: requestBody.query
          account_id: path.account_id
      - text: Run a web search {query} on account {account_id} with options {options}.
        slots:
          query: requestBody.query
          account_id: path.account_id
          options: requestBody.options
      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-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.