Umami Websites API

Website management and configuration

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 94

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /api/websites List websites · List websites #
Ask an LLM
“Which websites do I have access to in Umami?”
“Can I search my websites by name?”
Tell an agent
List my websites.
Find websites matching {search}.
POST /api/websites Create a website · Create a website #
Ask an LLM
“How do I add a new website to Umami?”
“Can I assign a new website to a team when I create it?”
Tell an agent
Create a website named {name} for domain {domain}.
Add website {name} on {domain} to team {teamId}.
DELETE /api/websites/{websiteId} Delete a website · Delete a website #
Ask an LLM
“How do I delete a website I no longer track?”
“Is deleting a website permanent?”
Tell an agent destructive · confirm first
Delete website {websiteId}.
Remove the website {websiteId} from Umami.
GET /api/websites/{websiteId} Get a website's details · Get a website #
Ask an LLM
“What are the details and configuration of one website?”
“Can I look up a website by its ID?”
Tell an agent
Show website {websiteId}.
Get the configuration of website {websiteId}.
POST /api/websites/{websiteId} Update a website · Update a website #
Ask an LLM
“How do I change a website's domain or name?”
“Can I turn on session replay for an existing website?”
Tell an agent
Rename website {websiteId} to {name}.
Set the domain of website {websiteId} to {domain}.
GET /api/websites/{websiteId}/active Count active visitors on a website · Get active website visitors #
Ask an LLM
“How many visitors are on my website right now?”
“What's the live active visitor count for a site?”
Tell an agent
Count active visitors on website {websiteId}.
Tell me how many people are on site {websiteId} right now.
GET /api/websites/{websiteId}/annotations List a website's annotations · List website annotations #
Ask an LLM
“What notes have I added to a website?”
“Can I filter a website's annotations by date range?”
Tell an agent
List annotations on website {websiteId}.
Show annotations on website {websiteId} between {startAt} and {endAt}.
POST /api/websites/{websiteId}/annotations Add a note to a website · Create a website annotation #
Ask an LLM
“How do I annotate a website with a note?”
“Can I mark a website annotation as an all-day note?”
Tell an agent
Add note {note} to website {websiteId} for {date}.
Mark website {websiteId} annotation {date} as all-day: {allDay}.
DELETE /api/websites/{websiteId}/annotations/{annotationId} Delete a website annotation · Delete a website annotation #
Ask an LLM
“How do I remove a note from a website?”
“Can I delete a dated annotation on a site?”
Tell an agent destructive · confirm first
Delete annotation {annotationId} from website {websiteId}.
Remove the note {annotationId} on site {websiteId}.
GET /api/websites/{websiteId}/annotations/{annotationId} Get a website annotation · Get a website annotation #
Ask an LLM
“What does a specific website annotation say?”
“Can I read one dated note on a website?”
Tell an agent
Show annotation {annotationId} on website {websiteId}.
Read the note {annotationId} on site {websiteId}.
POST /api/websites/{websiteId}/annotations/{annotationId} Edit a website annotation · Update a website annotation #
Ask an LLM
“How do I change the note on a website annotation?”
“Can I move a website annotation to another date?”
Tell an agent
Change annotation {annotationId} on website {websiteId} to note {note} on {date}.
Set website {websiteId} annotation {annotationId} to all-day {allDay}.
GET /api/websites/{websiteId}/attribution Attribute conversions to referrers · Get website attribution #
Ask an LLM
“Which referrer sent the most conversions to my site?”
“Can I see attribution by UTM source for a page path?”
Tell an agent
Attribute conversions for website {websiteId} from {startAt} to {endAt} using {model} model.
Show {type} attribution for page {path} on site {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/breakdown Break down a website's stats · Get website breakdown #
Ask an LLM
“How many pageviews and visitors did my site get?”
“Can I break down a website's stats by day or by browser?”
Tell an agent
Break down website {websiteId} stats by {fields} from {startAt} to {endAt}.
Show pageviews and visitors for site {websiteId} by {fields} over {unit} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/daterange Get a website's earliest and latest date · Get the website's available date range #
Ask an LLM
“When did my website first and last record an event?”
“What date range is available for a site?”
Tell an agent
Show the earliest and latest recorded event dates for website {websiteId}.
Get the date range for site {websiteId}.
GET /api/websites/{websiteId}/event-data List events with custom properties · List events with custom properties #
Ask an LLM
“What custom events happened on my site in a date range?”
“Can I see custom event data grouped by property?”
Tell an agent
List events on website {websiteId} from {startAt} to {endAt}.
Show custom event data for site {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/event-data-pivot List event properties in table form · List event properties in table form #
Ask an LLM
“How do I see each occurrence of a custom event with its property values?”
“Can I pivot custom event data into a table?”
Tell an agent
Pivot custom event {eventName} on website {websiteId} from {startAt} to {endAt}.
Show every occurrence of event {eventName} on site {websiteId} as a row.
GET /api/websites/{websiteId}/event-data-pivot/array-series Count array values of an event property over time · Get event array values over time #
Ask an LLM
“How often does each value of an array property appear over time?”
“Can I chart individual array values for a custom event?”
Tell an agent
Count array values of {propertyName} for event {eventName} on site {websiteId} from {startAt} to {endAt}.
Chart how often each {propertyName} value appears in {eventName} on site {websiteId} over {unit}.
GET /api/websites/{websiteId}/event-data-pivot/date-series Count occurrences of event date values · Get the distribution of event date values #
Ask an LLM
“How many times was a particular date stored in an event property?”
“Can I group event occurrences by the date value of a property?”
Tell an agent
Count occurrences of {propertyName} dates for event {eventName} on site {websiteId} from {startAt} to {endAt}.
Show how often each {propertyName} date value occurred in {eventName} on site {websiteId}.
GET /api/websites/{websiteId}/event-data-pivot/numeric-series Sum, average or count a numeric event property over time · Get numeric event properties over time #
Ask an LLM
“How do I get the sum or average of a numeric event property over time?”
“Can I chart a numeric property for a custom event?”
Tell an agent
Get the {metric} of {propertyName} for event {eventName} on site {websiteId} from {startAt} to {endAt}.
Chart {propertyName} for {eventName} on site {websiteId} by {unit}.
GET /api/websites/{websiteId}/event-data-pivot/numeric-stats Get numeric stats for a custom event property · Get numeric event property statistics #
Ask an LLM
“What is the average value of a custom event property over a date range?”
“Can I get the median and maximum of a numeric property for one page?”
Tell an agent
Get numeric stats for property {propertyName} of event {eventName} on website {websiteId} from {startAt} to {endAt}.
Show the average and maximum of {propertyName} for {eventName} on {websiteId} in {startAt}-{endAt}.
GET /api/websites/{websiteId}/event-data-pivot/property-series Chart string property values over time · Get event property values over time #
Ask an LLM
“How has the value of a custom event property changed day by day?”
“Can I chart a string property's values over a time unit?”
Tell an agent
Chart values of property {propertyName} for event {eventName} on website {websiteId} from {startAt} to {endAt}.
Show {propertyName} values for {eventName} on {websiteId} grouped by {unit} from {startAt} to {endAt}.
GET /api/websites/{websiteId}/event-data/{eventId} Get custom properties of one event · Get an event's custom properties #
Ask an LLM
“What custom properties were recorded on a specific event?”
“Can I look up the data attached to one event by its ID?”
Tell an agent
Get the custom properties of event {eventId} on website {websiteId}.
Show the custom data recorded on event {eventId} for {websiteId}.
GET /api/websites/{websiteId}/event-data/events Summarize properties by event name · Summarize properties by event #
Ask an LLM
“Which properties are attached to a particular event name?”
“Can I see property counts grouped by event name?”
Tell an agent
Summarize properties by event name for website {websiteId} from {startAt} to {endAt}.
Show property counts for event {event} on {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/event-data/fields List event property fields and counts · List event property fields #
Ask an LLM
“What custom event properties have been recorded on my site?”
“How many records exist for each event property name?”
Tell an agent
List event property fields and counts for website {websiteId} from {startAt} to {endAt}.
Show property names and record counts for event {eventName} on {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/event-data/properties List events and their custom properties · List event property usage #
Ask an LLM
“Which events have custom properties, and how many records each?”
“Can I see every event property name and its data type?”
Tell an agent
List events and their custom properties for website {websiteId} from {startAt} to {endAt}.
Show event property usage for {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/event-data/stats Get totals of events with custom data · Get event property totals #
Ask an LLM
“How many events carry custom data on my site?”
“What is the total number of property records for a date range?”
Tell an agent
Get event property totals for website {websiteId} from {startAt} to {endAt}.
Show counts of events with custom data on {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/event-data/values List values and counts of a custom property · List event property values #
Ask an LLM
“What values has a custom event property taken, and how often?”
“Can I get the occurrence count for each value of a property?”
Tell an agent
List values and counts of property {propertyName} for event {eventName} on website {websiteId} from {startAt} to {endAt}.
Show occurrence counts for {propertyName} values on {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/events List pageviews and custom events · List tracked events #
Ask an LLM
“What pageviews and custom events happened on my site?”
“Can I search event details and filter by UTM source?”
Tell an agent
List events on website {websiteId}.
Show events on {websiteId} matching {search} from {startAt} to {endAt}.
GET /api/websites/{websiteId}/events/series Chart custom event counts over time · Get custom event counts over time #
Ask an LLM
“How have custom event counts trended over time?”
“Can I chart the most frequent events by day?”
Tell an agent
Chart custom event counts on website {websiteId} from {startAt} to {endAt} in {unit}.
Show the top {limit} custom events on {websiteId} over {unit} from {startAt} to {endAt}.
GET /api/websites/{websiteId}/events/stats Get event totals for a page over time · Get website event statistics #
Ask an LLM
“How many events, like pageviews or custom events, happened on a page?”
“Can I compare event totals with the same period last year?”
Tell an agent
Get event totals for website {websiteId}.
Get event totals for page {page} on website {websiteId} between {start} and {end}.
GET /api/websites/{websiteId}/export Export website analytics as CSV · Export website analytics #
Ask an LLM
“Can I download my site's analytics as CSV files?”
“What does the analytics export contain?”
Tell an agent
Export website {websiteId} analytics as CSV.
Download the analytics export for website {websiteId} from {startAt} to {endAt}.
GET /api/websites/{websiteId}/funnels List a website's saved funnels · Get website funnels #
Ask an LLM
“What funnels have I saved for my website?”
“Can I search my saved funnels by name?”
Tell an agent
List the saved funnels for website {websiteId}.
Find saved funnels on website {websiteId} matching {search}.
POST /api/websites/{websiteId}/funnels Save a funnel for a website · Create a website funnel #
Ask an LLM
“How do I save a funnel of page steps for my website?”
“Can I set a conversion window on a new funnel?”
Tell an agent
Save funnel {name} on website {websiteId} with steps {parameters}.
Create a funnel {name} on website {websiteId} described as {description}.
DELETE /api/websites/{websiteId}/funnels/{funnelId} Delete a saved funnel · Delete a website funnel #
Ask an LLM
“How do I delete a funnel I no longer track?”
“Can I remove a saved funnel from my website?”
Tell an agent destructive · confirm first
Delete funnel {funnelId} from website {websiteId}.
Remove saved funnel {funnelId} on website {websiteId}.
GET /api/websites/{websiteId}/funnels/{funnelId} Get a saved funnel · Get a website funnel #
Ask an LLM
“What steps and conversion window does one of my saved funnels have?”
“Can I view a single funnel by its ID?”
Tell an agent
Get funnel {funnelId} on website {websiteId}.
Show the steps of saved funnel {funnelId} for website {websiteId}.
POST /api/websites/{websiteId}/funnels/{funnelId} Update a saved funnel · Update a website funnel #
Ask an LLM
“Can I change the steps of a funnel I already saved?”
“How do I rename a saved funnel?”
Tell an agent
Update funnel {funnelId} on website {websiteId} to steps {parameters}.
Rename saved funnel {funnelId} on website {websiteId} to {name}.
GET /api/websites/{websiteId}/funnels/{funnelId}/stats Get stats for a saved funnel · Get website saved funnel stats #
Ask an LLM
“How many visitors drop off at each step of a saved funnel?”
“Can I see funnel stats for a saved funnel over a date range?”
Tell an agent
Get stats for saved funnel {funnelId} on website {websiteId} from {startAt} to {endAt}.
Show drop-off for saved funnel {funnelId} on website {websiteId} filtered by {path}.
GET /api/websites/{websiteId}/funnels/stats Get stats for an ad-hoc funnel · Get website funnel stats #
Ask an LLM
“How do I see funnel stats for a funnel I build on the fly?”
“What does drop-off look like for an ad-hoc funnel over a date range?”
Tell an agent
Get stats for ad-hoc funnel {steps} on website {websiteId} over {window} from {startAt} to {endAt}.
Show drop-off for the ad-hoc funnel {steps} on website {websiteId} filtered by {path}.
GET /api/websites/{websiteId}/goals List a website's saved goals · Get website goals #
Ask an LLM
“What goals have I saved for my website?”
“Can I search my saved goals by name?”
Tell an agent
List the saved goals for website {websiteId}.
Find saved goals on website {websiteId} matching {search}.
POST /api/websites/{websiteId}/goals Save a goal for a website · Create a website goal #
Ask an LLM
“How do I save a goal like a conversion or revenue target?”
“Can I set a goal type and value when I create it?”
Tell an agent
Save goal {name} on website {websiteId} with parameters {parameters}.
Create a goal {name} on website {websiteId} described as {description}.
DELETE /api/websites/{websiteId}/goals/{goalId} Delete a saved goal · Delete a website goal #
Ask an LLM
“How do I delete a goal I no longer track?”
“Can I remove a saved goal from my website?”
Tell an agent destructive · confirm first
Delete goal {goalId} from website {websiteId}.
Remove saved goal {goalId} on website {websiteId}.
GET /api/websites/{websiteId}/goals/{goalId} Get a saved goal · Get a website goal #
Ask an LLM
“What type and value does one of my saved goals track?”
“Can I view a single goal by its ID?”
Tell an agent
Get goal {goalId} on website {websiteId}.
Show the type and value of saved goal {goalId} for website {websiteId}.
POST /api/websites/{websiteId}/goals/{goalId} Update a saved goal · Update a website goal #
Ask an LLM
“Can I change the type or value of a goal I already saved?”
“How do I rename a saved goal?”
Tell an agent
Update goal {goalId} on website {websiteId} to parameters {parameters}.
Rename saved goal {goalId} on website {websiteId} to {name}.
GET /api/websites/{websiteId}/goals/{goalId}/stats Get stats for a saved goal · Get website saved goal stats #
Ask an LLM
“How many conversions did a saved goal get over a date range?”
“Can I see the total for a saved goal filtered by country?”
Tell an agent
Get stats for saved goal {goalId} on website {websiteId} from {startAt} to {endAt}.
Show conversions for saved goal {goalId} on website {websiteId} filtered by {country}.
GET /api/websites/{websiteId}/goals/stats Get stats for an ad-hoc goal · Get website goal stats #
Ask an LLM
“How do I see conversions for a goal I define on the fly?”
“What does a custom goal total look like over a date range?”
Tell an agent
Get stats for ad-hoc goal {type} with value {value} on website {websiteId} from {startAt} to {endAt}.
Show conversions for the ad-hoc goal {type} with value {value} on website {websiteId} filtered by {path}.
GET /api/websites/{websiteId}/heatmaps Get click or scroll heatmaps · Get website heatmaps #
Ask an LLM
“Can I see click or scroll heatmaps for my site?”
“Which pages have heatmap data recorded?”
Tell an agent
Get heatmaps for website {websiteId} from {startAt} to {endAt}.
Show heatmaps for the page {urlPath} on website {websiteId}.
GET /api/websites/{websiteId}/journeys Get the most common visitor journeys · Get website journeys #
Ask an LLM
“What are the most common paths visitors take through my site?”
“Can I see journeys that start and end on specific pages?”
Tell an agent
Get the most common journeys for website {websiteId} over {startAt} to {endAt}.
Show journeys of {steps} steps on website {websiteId} starting at {startStep} and ending at {endStep}.
GET /api/websites/{websiteId}/metrics Rank a dimension like pages, referrers or countries · Get ranked website metrics #
Ask an LLM
“What are the most visited pages or referrers on my site?”
“Can I rank countries or browsers by visit count?”
Tell an agent
Rank the top pages on website {websiteId}.
Rank {type} on website {websiteId} by visit count.
GET /api/websites/{websiteId}/metrics/expanded Get detailed metrics for a dimension · Get detailed website metrics #
Ask an LLM
“What are the full details behind the top pages or events?”
“Can I see expanded metrics for a single page?”
Tell an agent
Get expanded metrics for {type} on website {websiteId}.
Show detailed {type} metrics for website {websiteId} filtered by {path}.
GET /api/websites/{websiteId}/pageviews Get pageviews and sessions over time · Get pageviews and sessions over time #
Ask an LLM
“What trend does pageview and session count show over time?”
“Can I compare pageviews with the previous period?”
Tell an agent
Get pageviews and sessions over time for website {websiteId}.
Show the pageview and session trend for website {websiteId} between {start} and {end} by {unit}.
GET /api/websites/{websiteId}/performance/chart Chart Core Web Vitals over time · Get website performance chart #
Ask an LLM
“How has LCP or INP changed on a page over time?”
“Can I chart Core Web Vitals for a single URL?”
Tell an agent
Chart Core Web Vitals for website {websiteId} for the period {start} to {end}.
Chart {metric} for {page} on website {websiteId} between {start} and {end}.
GET /api/websites/{websiteId}/performance/metrics Rank pages or browsers by Core Web Vitals percentiles · Get website performance metrics #
Ask an LLM
“Which pages or devices have the slowest p75 Core Web Vitals on my site?”
“Can I see p50, p75 and p95 Core Web Vitals values ranked by browser?”
Tell an agent
Rank {type} on website {websiteId} by Core Web Vitals {metric} from {startAt} to {endAt}.
Show the {limit} worst-performing {type} by p95 Core Web Vitals on website {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/performance/stats Get Core Web Vitals totals and measurement count · Get website performance stats #
Ask an LLM
“What is the p50, p75 and p95 of LCP and CLS on my site?”
“How many measurements were taken for Core Web Vitals in the date range?”
Tell an agent
Get overall Core Web Vitals for website {websiteId}.
Get Core Web Vitals totals for website {websiteId} between {start} and {end}.
GET /api/websites/{websiteId}/recorder Get website recording settings · Get website recording settings #
Ask an LLM
“Is session recording enabled for my site?”
“What sampling and masking settings does recording use?”
Tell an agent
Get the recording settings for website {websiteId}.
Show whether session recording is disabled on website {websiteId}.
GET /api/websites/{websiteId}/replays List recorded sessions for a website · List website session replays #
Ask an LLM
“Which recorded sessions happened on my site?”
“Can I list replays longer than a certain duration?”
Tell an agent
List recorded sessions for website {websiteId}.
Show replays on website {websiteId} longer than {min} seconds.
GET /api/websites/{websiteId}/replays/{replayId} Get a recorded session replay · Get a session replay recording #
Ask an LLM
“Can I watch a single recorded session?”
“What events and chunks make up one replay?”
Tell an agent
Get replay {replayId} for website {websiteId}.
Play back recorded session {replayId} on website {websiteId}.
GET /api/websites/{websiteId}/replays/saved List saved session replays · List saved session replays #
Ask an LLM
“Which session replays have I saved?”
“Can I search saved replays on my site?”
Tell an agent
List saved replays for website {websiteId}.
Show saved replays on website {websiteId} matching {search}.
GET /api/websites/{websiteId}/replays/saved/{replayId} Check whether a replay is saved · Check whether a replay is saved #
Ask an LLM
“Is a particular session replay saved?”
“Can I check a replay's saved status?”
Tell an agent
Check whether replay {replayId} is saved on website {websiteId}.
Tell me if session {replayId} has been saved for website {websiteId}.
POST /api/websites/{websiteId}/replays/saved/{replayId} Save or unsave a session replay · Save or unsave a session replay #
Ask an LLM
“Can I save a recorded session replay?”
“How do I remove a replay from my saved replays?”
Tell an agent
Save replay {replayId} on website {websiteId} as {name}.
Set saved to {isSaved} for replay {replayId} on website {websiteId}.
POST /api/websites/{websiteId}/reset Clear a website's analytics data · Reset website analytics #
Ask an LLM
“Can I wipe all collected analytics from a website?”
“Does resetting a website keep its configuration?”
Tell an agent destructive · confirm first
Reset website {websiteId} and clear its analytics.
Clear collected data for website {websiteId} but keep its settings.
GET /api/websites/{websiteId}/retention Get daily visitor retention for a website · Get website retention #
Ask an LLM
“How many visitors return to my site each day after their first visit?”
“Can I see retention broken down by browser, country or device?”
Tell an agent
Get daily retention for website {websiteId} from {startAt} to {endAt}.
Show retention for website {websiteId} by {device} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/revenue/chart Get a revenue chart over time · Get website revenue over time #
Ask an LLM
“What has my website's revenue looked like over the last quarter?”
“Can I compare revenue for a page against the same period last year?”
Tell an agent
Get the revenue chart for website {websiteId} in {currency} from {startAt} to {endAt}.
Chart revenue for website {websiteId} in {currency} by {unit} for {compare}.
GET /api/websites/{websiteId}/revenue/metrics Get revenue grouped by a dimension · Get website revenue by dimension #
Ask an LLM
“Which countries or referrers bring in the most revenue?”
“Can I break down revenue by browser or operating system?”
Tell an agent
Get revenue for website {websiteId} by {type} in {currency} from {startAt} to {endAt}.
Break down revenue for website {websiteId} by {type} in {currency} for {compare}.
GET /api/websites/{websiteId}/revenue/sessions List sessions that generated revenue · List sessions with revenue #
Ask an LLM
“Which sessions on my site actually brought in money?”
“Can I search the paid sessions for a specific page or referrer?”
Tell an agent
List sessions with revenue for website {websiteId} in {currency} from {startAt} to {endAt}.
Find paid sessions on website {websiteId} in {currency} matching {search}.
GET /api/websites/{websiteId}/revenue/stats Get revenue totals for a date range · Get website revenue totals #
Ask an LLM
“What are my total revenue and conversion totals for last month?”
“How do my revenue totals compare to the previous period?”
Tell an agent
Get revenue totals for website {websiteId} in {currency} from {startAt} to {endAt}.
Summarize revenue for website {websiteId} in {currency} for {compare}.
GET /api/websites/{websiteId}/segments List a website's saved segments and cohorts · List website segments and cohorts #
Ask an LLM
“What segments and cohorts have I saved for a website?”
“Can I search a website's segments by name?”
Tell an agent
List {type} segments for website {websiteId}.
Find {type} segments on website {websiteId} matching {search}.
POST /api/websites/{websiteId}/segments Save a new segment or cohort · Create a website segment or cohort #
Ask an LLM
“How do I save a reusable segment of my site's visitors?”
“Can I create a cohort of visitors who came from a particular referrer?”
Tell an agent
Create a {type} segment named {name} on website {websiteId} with {parameters}.
Save a new {type} segment {name} on website {websiteId}.
DELETE /api/websites/{websiteId}/segments/{segmentId} Delete a saved segment or cohort · Delete a website segment or cohort #
Ask an LLM
“How do I delete a segment I no longer need?”
“Can I remove a cohort from a website?”
Tell an agent destructive · confirm first
Delete segment {segmentId} from website {websiteId}.
Remove cohort {segmentId} on website {websiteId}.
GET /api/websites/{websiteId}/segments/{segmentId} Get a saved segment or cohort · Get a website segment or cohort #
Ask an LLM
“What filters make up a segment I already saved?”
“Can I look up one segment by its ID?”
Tell an agent
Get segment {segmentId} on website {websiteId}.
Show the filters of segment {segmentId} for website {websiteId}.
POST /api/websites/{websiteId}/segments/{segmentId} Update a saved segment or cohort · Update a website segment or cohort #
Ask an LLM
“Can I change the filters of a segment I already saved?”
“How do I rename an existing segment?”
Tell an agent
Update segment {segmentId} on website {websiteId} to {parameters} with name {name} and type {type}.
Rename segment {segmentId} on website {websiteId} to {name}.
GET /api/websites/{websiteId}/session-data-pivot List sessions with a property as a table · List session properties in table form #
Ask an LLM
“How do I see the latest values of a custom property across sessions?”
“Can I pivot a session property into a table of rows?”
Tell an agent
Show sessions for website {websiteId} from {startAt} to {endAt} with property {propertyName} as a table.
Pivot property {propertyName} for website {websiteId} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/session-data/array-series Count sessions per value of an array property · Get session array values over time #
Ask an LLM
“How many sessions have each value in an array property?”
“Can I count distinct sessions for each value of a tag array?”
Tell an agent
Count sessions for property {propertyName} on website {websiteId} from {startAt} to {endAt}.
Break down {propertyName} values for website {websiteId} by {unit} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/session-data/date-series Count sessions by date of a custom property · Get the distribution of session date values #
Ask an LLM
“How many sessions happened on each day a visitor filled in a custom property?”
“Can I break down a custom property's date values by day or month?”
Tell an agent
Count sessions by {propertyName} for website {websiteId} from {startAt} to {endAt}.
Show the date series for {propertyName} on {websiteId} in timezone {timezone}.
GET /api/websites/{websiteId}/session-data/numeric-series Chart a custom numeric session property over time · Get numeric session properties over time #
Ask an LLM
“Can I chart a custom event property, like time on page, over time?”
“What is the average of a numeric session property for a date range?”
Tell an agent
Chart numeric property {property} on website {websiteId} from {start} to {end}.
Show the {metric} of {property} for website {websiteId} by {unit}.
GET /api/websites/{websiteId}/session-data/numeric-stats Get stats for a numeric session property · Get numeric session property statistics #
Ask an LLM
“What is the average, median and range of a custom numeric property?”
“Can I get the minimum and maximum of a session property for a date range?”
Tell an agent
Get stats for {propertyName} on website {websiteId} from {startAt} to {endAt}.
Show the average and median of {propertyName} for {websiteId}.
GET /api/websites/{websiteId}/session-data/properties List custom session properties and their counts · List session property usage #
Ask an LLM
“Which custom session properties have been recorded on my site?”
“How many sessions have each custom property value?”
Tell an agent
List custom session properties for website {websiteId} from {startAt} to {endAt}.
Show session property usage for {websiteId} with property {propertyName}.
GET /api/websites/{websiteId}/session-data/property-series Chart string property values over time · Get session property values over time #
Ask an LLM
“How has the value of a custom string property changed over time?”
“Can I chart each value of a session property by day?”
Tell an agent
Chart values of {propertyName} for website {websiteId} from {startAt} to {endAt}.
Show {propertyName} on {websiteId} by {unit} in timezone {timezone}.
GET /api/websites/{websiteId}/session-data/stats Count activity grouped by a session property · Get activity by session property #
Ask an LLM
“How many sessions, visits and pageviews happened for each value of a custom property?”
“Can I break down activity by a session property's values?”
Tell an agent
Count activity by {propertyName} for website {websiteId} from {startAt} to {endAt}.
Show session and pageview counts for {propertyName} on {websiteId}.
GET /api/websites/{websiteId}/session-data/values List values of a custom session property · List session property values #
Ask an LLM
“What values have been recorded for a custom session property?”
“Can I list only string or number values of a session property?”
Tell an agent
List values of {propertyName} for website {websiteId} from {startAt} to {endAt}.
Show {dataType} values of {propertyName} on {websiteId}.
GET /api/websites/{websiteId}/sessions List visitor sessions on a website · List visitor sessions #
Ask an LLM
“Who visited my website and what did they do?”
“Can I search sessions by browser, operating system or city?”
Tell an agent
List sessions for website {websiteId}.
Find sessions on {websiteId} matching {search}.
DELETE /api/websites/{websiteId}/sessions/{sessionId} Delete a visitor session · Delete a visitor session #
Ask an LLM
“Can I delete a visitor session and its analytics data?”
“Is it possible to remove a single session from my analytics?”
Tell an agent destructive · confirm first
Delete session {sessionId} on website {websiteId}.
Remove the analytics data for session {sessionId} on {websiteId}.
GET /api/websites/{websiteId}/sessions/{sessionId} Get a visitor session · Get a visitor session #
Ask an LLM
“What happened in a specific visitor session?”
“Can I see the details of one session, including linked identities?”
Tell an agent
Get session {sessionId} on website {websiteId}.
Show visitor identities linked to session {sessionId} for {websiteId}.
GET /api/websites/{websiteId}/sessions/{sessionId}/activity Get activity for a session and linked sessions · Get a visitor's session activity #
Ask an LLM
“What did a visitor do across all their sessions?”
“Can I see the activity for a session and any other sessions linked by identity?”
Tell an agent
Get activity for session {sessionId} on website {websiteId} from {startAt} to {endAt}.
Show linked activity for session {sessionId} on {websiteId} for {distinctId}.
GET /api/websites/{websiteId}/sessions/{sessionId}/properties Get custom properties of a session · Get a session's custom properties #
Ask an LLM
“What custom properties were recorded for a session?”
“Can I see the values of custom properties on one session?”
Tell an agent
Get custom properties for session {sessionId} on website {websiteId}.
Show the values of custom properties on session {sessionId} for {websiteId}.
GET /api/websites/{websiteId}/sessions/{sessionId}/replays List recordings of a session · List a visitor's session replays #
Ask an LLM
“Where are the recordings of a visitor's session?”
“Can I search through a session's replays?”
Tell an agent
List recordings for session {sessionId} on website {websiteId}.
Search replays of session {sessionId} on {websiteId} for {search}.
GET /api/websites/{websiteId}/sessions/stats Get aggregate session stats for a date range · Get visitor session statistics #
Ask an LLM
“How many sessions and pageviews did my site get last month?”
“Can I see session stats for visitors from one country or browser?”
Tell an agent
Get session stats for website {websiteId} from {startAt} to {endAt}.
Show {websiteId} sessions between {startAt} and {endAt} from country {country}.
GET /api/websites/{websiteId}/sessions/weekly Get traffic by weekday and hour · Get traffic by weekday and hour #
Ask an LLM
“What time of day does my site get the most traffic each weekday?”
“Can I see hourly traffic for a single page?”
Tell an agent
Show traffic by weekday and hour for website {websiteId} from {startAt} to {endAt} in {timezone}.
Plot hourly traffic for {websiteId} on page {path} over {startAt} to {endAt}.
GET /api/websites/{websiteId}/shares List shares for a website · List shares for a website #
Ask an LLM
“Which pages on my site are shared the most?”
“Can I page through a website's shares?”
Tell an agent
List shares for website {websiteId}.
Show page {path} shares for {websiteId} filtered by {browser}.
POST /api/websites/{websiteId}/shares Create a share for a website · Create a share for a website #
Ask an LLM
“How do I create a shareable link for a page on my site?”
“Can I name a share when I create it?”
Tell an agent
Create a share named {name} for website {websiteId}.
Add a share {name} to {websiteId} with parameters {parameters}.
GET /api/websites/{websiteId}/stats Get summary stats for a date range · Get website summary statistics #
Ask an LLM
“What are my site's pageviews, visits and bounce rate for last month?”
“Can I compare this month's stats to the same period last year?”
Tell an agent
Get summary stats for website {websiteId} from {startAt} to {endAt}.
Compare {websiteId} stats for {startAt} to {endAt} with {compare}.
POST /api/websites/{websiteId}/transfer Transfer website ownership · Transfer website ownership #
Ask an LLM
“How do I hand over a website to another user or team?”
“Does the new owner need permission before I transfer a site?”
Tell an agent destructive · confirm first
Transfer website {websiteId} to user {userId}.
Give ownership of {websiteId} to team {teamId}.
GET /api/websites/{websiteId}/utm/metrics Get pageview counts by UTM parameter · Get website UTM metrics #
Ask an LLM
“Which UTM source or medium brings the most traffic to my site?”
“Can I break down pageviews by UTM campaign?”
Tell an agent
Get {type} UTM metrics for website {websiteId} from {startAt} to {endAt}.
Show {type} UTM pageviews for {websiteId} on {path} between {startAt} and {endAt}.
GET /api/websites/{websiteId}/values List filter values for a website · List website filter values #
Ask an LLM
“What saved segments or cohorts can I filter a website's stats by?”
“Can I search the values available for a website filter?”
Tell an agent
List {type} values for website {websiteId}.
Find {type} values matching {search} for {websiteId}.
GET /api/websites/charts Get visitor charts for several websites · Get visitor charts for websites #
Ask an LLM
“Can I see visitor totals for all my websites on one chart?”
“What does the visitor chart look like for a set of websites?”
Tell an agent
Get visitor charts for websites {ids}.
Show charts for {ids} from {startAt} to {endAt}.

Documentation

Specifications

Schemas & Data

📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-website-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-website-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-website-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-website-stats-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-pageview-data-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-metric-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-active-visitors-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-session-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-session-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-session-stats-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-user-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-user-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-team-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-team-list-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-team-member-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-team-request-schema.json
📊
JSONSchema
https://artifacts.apis.io/umami/json-schema/umami-ok-response-schema.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-website-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-website-list-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-website-stats-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-session-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-session-list-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-metric-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-user-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-team-structure.json
📊
JSONStructure
https://artifacts.apis.io/umami/json-structure/umami-team-member-structure.json

Other Resources

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/umami:umami-websites-api"
All apis
curl "https://apis.io/api/v1/apis?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.

OpenAPI Specification

umami-websites-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Umami Websites API
  version: 3.3.1
  license:
    identifier: MIT
    name: MIT
  x-refined-note:
  - x-source differs across the merged source definitions and was not carried
  description: 'Operations tagged Websites across 2 of this provider''s published API definitions: umami-openapi.json, umami-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://{instance}
  description: Self-hosted Umami instance (paths begin with /api). Umami Cloud serves the same API at https://api.umami.is/v1 per docs.umami.is/docs/api.
  variables:
    instance:
      default: your-umami-instance.example.com
tags:


# --- truncated at 32 KB (558 KB total) ---
# Full source: https://artifacts.apis.io/umami/openapi/umami-websites-api-openapi.yml