Cloudflare · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Cloudflare Workers K2 Other API

7 actions 7 updates phrasing extends openapi/cloudflare-workers-k2-other-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}/k2/streams'].get
$.paths['/accounts/{account_id}/k2/streams'].post
$.paths['/accounts/{account_id}/k2/streams/{stream_id}'].get
$.paths['/accounts/{account_id}/k2/streams/{stream_id}'].delete
$.paths['/accounts/{account_id}/k2/streams/{stream_id}'].patch
$.paths['/accounts/{account_id}/k2/streams/{stream_id}/subscriptions'].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 Workers K2 Other API
  version: 1.0.0
extends: openapi/cloudflare-workers-k2-other-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}/k2/streams'].get
  update:
    x-apievangelist-phrasing:
      intent: List K2 streams
      effect: read
      questions:
      - Which K2 streams exist in my account?
      - Can I filter K2 streams by name?
      instructions:
      - text: List K2 streams in account {account_id}.
        slots:
          account_id: path.account_id
      - text: Find K2 streams named {name} in account {account_id}.
        slots:
          name: query.name
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/k2/streams'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a K2 stream
      effect: write
      questions:
      - How do I create a new K2 stream for my worker?
      - Can I set a retention period when creating a K2 stream?
      instructions:
      - text: Create K2 stream {name} in account {account_id}.
        slots:
          name: requestBody.name
          account_id: path.account_id
      - text: Create K2 stream {name} in account {account_id} with {retention_seconds} seconds retention.
        slots:
          name: requestBody.name
          account_id: path.account_id
          retention_seconds: requestBody.retention_seconds
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/k2/streams/{stream_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get a K2 stream
      effect: read
      questions:
      - What are the details of one K2 stream?
      - Can I look up a K2 stream by its ID?
      instructions:
      - text: Get K2 stream {stream_id} in account {account_id}.
        slots:
          stream_id: path.stream_id
          account_id: path.account_id
      - text: Show the configuration of K2 stream {stream_id} in account {account_id}.
        slots:
          stream_id: path.stream_id
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/k2/streams/{stream_id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete a K2 stream
      effect: destructive
      questions:
      - How do I delete a K2 stream?
      - Does deleting a K2 stream that doesn't exist fail?
      instructions:
      - text: Delete K2 stream {stream_id} in account {account_id}.
        slots:
          stream_id: path.stream_id
          account_id: path.account_id
      - text: Remove K2 stream {stream_id} from account {account_id}.
        slots:
          stream_id: path.stream_id
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/k2/streams/{stream_id}'].patch
  update:
    x-apievangelist-phrasing:
      intent: Update a K2 stream
      effect: write
      questions:
      - How do I change the retention period of a K2 stream?
      - Can I bind a worker to an existing K2 stream?
      instructions:
      - text: Set K2 stream {stream_id} retention to {retention_seconds} seconds in account {account_id}.
        slots:
          stream_id: path.stream_id
          retention_seconds: requestBody.retention_seconds
          account_id: path.account_id
      - text: Bind worker {worker_binding} to K2 stream {stream_id} in account {account_id}.
        slots:
          worker_binding: requestBody.worker_binding
          stream_id: path.stream_id
          account_id: path.account_id
      method: generated
      generated: '2026-11-23'
- target: $.paths['/accounts/{account_id}/k2/streams/{stream_id}/subscriptions'].get
  update:
    x-apievangelist-phrasing:
      intent: List subscriptions on a K2 stream
      effect: read
      questions:
      - Which consumers subscribe to a K2 stream?
      - What is the lag of each subscription on a K2 stream?
      instructions:
      - text: List subscriptions on K2 stream {stream_id} in account {account_id}.
        slots:
          stream_id: path.stream_id
          account_id: path.account_id
      - text: Show the lag of every subscription on K2 stream {stream_id} in account {account_id}.
        slots:
          stream_id: path.stream_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-workers-k2-other-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.