Fastly · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for Fastly Metrics and Stats Historical Stats API

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

What the actions change

x-apievangelist-phrasing

Targets 4

$.info
$.paths['/stats'].get
$.paths['/stats/service/{service_id}'].get
$.paths['/stats/field/{field}'].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 Fastly Metrics and Stats Historical Stats API
  version: 1.0.0
extends: openapi/fastly-historical-stats-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-22'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 3
- target: $.paths['/stats'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical stats for all services
      effect: read
      questions:
      - How much bandwidth and error rate did all my services use last month?
      - When does historical stats data become available for a given UTC day?
      instructions:
      - text: Get historical stats for all services from {from} to {to}.
        slots:
          from: query.from
          to: query.to
      - text: Show historical stats for every service in region {region}.
        slots:
          region: query.region
      method: generated
      generated: '2026-11-22'
- target: $.paths['/stats/service/{service_id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get historical stats for one service
      effect: read
      questions:
      - How did a single service perform over a custom time range?
      - Can I get hourly stats for one service in a specific region?
      instructions:
      - text: Get historical stats for service {service_id} from {from} to {to}.
        slots:
          service_id: path.service_id
          from: query.from
          to: query.to
      - text: Show {by} stats for service {service_id} in region {region}.
        slots:
          by: query.by
          service_id: path.service_id
          region: query.region
      method: generated
      generated: '2026-11-22'
- target: $.paths['/stats/field/{field}'].get
  update:
    x-apievangelist-phrasing:
      intent: Pull a single historical stats field for all services
      effect: read
      questions:
      - Can I get the cache hit ratio across all my services for a time range?
      - What's the request count metric averaged over each time bucket for all services?
      instructions:
      - text: Get the {field} historical stats for all my services.
        slots:
          field: path.field
      - text: Pull the {field} stats between {from} and {to}, {by} by {region}.
        slots:
          field: path.field
          from: query.from
          to: query.to
          by: query.by
          region: query.region
      method: generated
      generated: '2026-11-22'

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/fastly-historical-stats-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.