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.
# 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 Real-Time Analytics API
version: 1.0.0
extends: openapi/fastly-real-time-analytics-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['/v1/channel/{service_id}/ts/{start_timestamp}'].get
update:
x-apievangelist-phrasing:
intent: Get real-time analytics for a service
effect: read
questions:
- How do I get second-by-second real-time analytics for my service starting at a timestamp?
- Can I pull real-time stats for a Fastly service from a specific Unix timestamp?
instructions:
- text: Get real-time analytics for service {service_id} starting at {start_timestamp}.
slots:
service_id: path.service_id
start_timestamp: path.start_timestamp
- text: Pull second-by-second stats for service {service_id} from {start_timestamp} onward.
slots:
service_id: path.service_id
start_timestamp: path.start_timestamp
method: generated
generated: '2026-11-22'
- target: $.paths['/v1/channel/{service_id}/ts/h'].get
update:
x-apievangelist-phrasing:
intent: Get real-time analytics for the last 120 seconds
effect: read
questions:
- What are the real-time stats for my service over the last two minutes?
- Can I see the last 120 seconds of real-time analytics for a service?
instructions:
- text: Get real-time analytics for service {service_id} over the last 120 seconds.
slots:
service_id: path.service_id
- text: Show the past two minutes of real-time stats for service {service_id}.
slots:
service_id: path.service_id
method: generated
generated: '2026-11-22'
- target: $.paths['/v1/channel/{service_id}/ts/h/limit/{max_entries}'].get
update:
x-apievangelist-phrasing:
intent: Get the most recent real-time entries
effect: read
questions:
- How do I get the most recent real-time analytics entries for a service?
- Can I limit real-time stats to the last few entries?
instructions:
- text: Get the most recent {max_entries} real-time analytics entries for service {service_id}.
slots:
max_entries: path.max_entries
service_id: path.service_id
- text: Show the latest {max_entries} seconds of real-time stats for service {service_id}.
slots:
max_entries: path.max_entries
service_id: path.service_id
method: generated
generated: '2026-11-22'
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.