Compare traffic time series
compare_traffic_seriesCompare current and comparison traffic series bucket by bucket to pinpoint the exact day or hour when traffic changed.
Instructions
Return aligned current and comparison traffic buckets to locate the exact day or hour when traffic changed.
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>",
"start": "<start>",
"end": "<end>"
},
"name": "compare_traffic_series"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | Yes | Unix milliseconds, ISO 8601 with timezone, or YYYY-MM-DD (UTC) | |
| unit | No | day | |
| start | Yes | Unix milliseconds, ISO 8601 with timezone, or YYYY-MM-DD (UTC) | |
| filters | No | ||
| timezone | No | UTC | |
| websiteId | Yes | Umami UUID | |
| comparisonEnd | No | Unix milliseconds, ISO 8601 with timezone, or YYYY-MM-DD (UTC) | |
| comparisonMode | No | previous | |
| trafficSegment | No | all | |
| comparisonStart | No | Unix milliseconds, ISO 8601 with timezone, or YYYY-MM-DD (UTC) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | JSON analytics data returned by Umami Compass | |
| meta | Yes |