get_sessions
Retrieve session data for a website within a timestamp range, filtered by path, query, search text, distinct ID, or Umami v3 filters such as country, device, and browser.
Instructions
Get session data for a website
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"websiteId": "<websiteId>",
"startAt": "<startAt>",
"endAt": "<endAt>"
},
"name": "get_sessions"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number (1-based) | |
| path | No | Filter by URL path | |
| endAt | Yes | End timestamp in milliseconds | |
| query | No | Filter by URL query string | |
| search | No | Free-text session search | |
| filters | No | Additional Umami v3 filters such as country, device, browser, tag, UTM fields, segment, or cohort | |
| startAt | Yes | Start timestamp in milliseconds | |
| pageSize | No | Results per page | |
| websiteId | Yes | Website UUID | |
| distinctId | No | Filter by distinct ID | |
| maxResults | No |