Generated by API Evangelist
Written by API Evangelist tooling for Umami's API. It is a proposal applied on top of the contract, not a document Umami publishes.
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
title: API Evangelist conversational phrasing for Umami Analytics Website Statistics API
version: 1.0.0
extends: openapi/umami-website-statistics-api-openapi.yml
actions:
- target: $.info
update:
x-apievangelist-phrasing:
method: generated
generated: '2026-11-17'
generator: build-phrasing.py
label: Generated by API Evangelist
operations: 4
- target: $.paths['/api/websites/{websiteId}/stats'].get
update:
x-apievangelist-phrasing:
intent: Summarize a website's stats over a time range
effect: read
questions:
- How many sessions and pageviews did my website get last month?
- Can I get a summary of a site's stats for a custom date range?
instructions:
- text: Summarize stats for website {websiteId} from {startAt} to {endAt}.
slots:
websiteId: path.websiteId
startAt: query.startAt
endAt: query.endAt
- text: Give me a site summary for {websiteId} between {startAt} and {endAt}.
slots:
websiteId: path.websiteId
startAt: query.startAt
endAt: query.endAt
method: generated
generated: '2026-11-17'
- target: $.paths['/api/websites/{websiteId}/pageviews'].get
update:
x-apievangelist-phrasing:
intent: Get pageviews over time
effect: read
questions:
- How did my pageviews trend over time?
- Can I break pageviews down by day, week or month?
instructions:
- text: Get pageviews for website {websiteId} from {startAt} to {endAt} by {unit} in {timezone}.
slots:
websiteId: path.websiteId
startAt: query.startAt
endAt: query.endAt
unit: query.unit
timezone: query.timezone
- text: Show pageview trends for {websiteId} in {timezone} from {startAt} to {endAt}, bucketed by {unit}.
slots:
websiteId: path.websiteId
timezone: query.timezone
startAt: query.startAt
endAt: query.endAt
unit: query.unit
method: generated
generated: '2026-11-17'
- target: $.paths['/api/websites/{websiteId}/metrics'].get
update:
x-apievangelist-phrasing:
intent: Get a metric broken down by dimension
effect: read
questions:
- What are my top pages or countries by pageviews?
- Can I limit the top results for a metric dimension?
instructions:
- text: Get {type} metrics for website {websiteId} from {startAt} to {endAt}.
slots:
type: query.type
websiteId: path.websiteId
startAt: query.startAt
endAt: query.endAt
- text: Show the top {limit} {type} for {websiteId} between {startAt} and {endAt}.
slots:
limit: query.limit
type: query.type
websiteId: path.websiteId
startAt: query.startAt
endAt: query.endAt
method: generated
generated: '2026-11-17'
- target: $.paths['/api/websites/{websiteId}/active'].get
update:
x-apievangelist-phrasing:
intent: Count active visitors right now
effect: read
questions:
- How many visitors are on my site right now?
- What's the current active visitor count for a website?
instructions:
- text: Count active visitors on website {websiteId}.
slots:
websiteId: path.websiteId
- text: Tell me how many people are on {websiteId} right now.
slots:
websiteId: path.websiteId
method: generated
generated: '2026-11-17'
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.