S2 Dev · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for S2, the durable streams Records API

4 actions 4 updates phrasing extends openapi/s2-dev-records-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for S2 Dev's API. It is a proposal applied on top of the contract, not a document S2 Dev publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/streams/{stream}/records'].get
$.paths['/streams/{stream}/records'].post
$.paths['/streams/{stream}/records/tail'].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 S2, the durable streams Records API
  version: 1.0.0
extends: openapi/s2-dev-records-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-25'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/streams/{stream}/records'].get
  update:
    x-apievangelist-phrasing:
      intent: Read records from a stream
      effect: read
      questions:
      - How do I read records from a durable stream?
      - Can I read a stream's records from a sequence number or timestamp?
      - Is there a way to read records until a certain timestamp?
      instructions:
      - text: Read records from stream {stream}.
        slots:
          stream: path.stream
      - text: Read {count} records from {stream} starting at sequence {seq_num}.
        slots:
          count: query.count
          stream: path.stream
          seq_num: query.seq_num
      - text: Read records from {stream} from timestamp {timestamp} until {until}.
        slots:
          stream: path.stream
          timestamp: query.timestamp
          until: query.until
      method: generated
      generated: '2026-11-25'
- target: $.paths['/streams/{stream}/records'].post
  update:
    x-apievangelist-phrasing:
      intent: Append records to a stream
      effect: write
      questions:
      - How do I append records to a durable stream?
      - Can I append records to a stream with an encryption key?
      - What is the maximum number of records I can append in one batch?
      instructions:
      - text: Append records {records} to stream {stream}.
        slots:
          records: requestBody.records
          stream: path.stream
      - text: Append {records} to {stream} using encryption key {key}.
        slots:
          records: requestBody.records
          stream: path.stream
          key: header.s2-encryption-key
      method: generated
      generated: '2026-11-25'
- target: $.paths['/streams/{stream}/records/tail'].get
  update:
    x-apievangelist-phrasing:
      intent: Check a stream's tail sequence number
      effect: read
      questions:
      - What is the current tail sequence number of a stream?
      - Can I check the end of a durable stream without reading records?
      instructions:
      - text: Check the tail of stream {stream}.
        slots:
          stream: path.stream
      - text: Get the next sequence number for {stream}.
        slots:
          stream: path.stream
      method: generated
      generated: '2026-11-25'

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/s2-dev-records-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.