get_timeseries
Retrieve Plausible Analytics metrics broken down over time for trend analysis. Specify a date range and interval to analyze traffic changes.
Instructions
Get metrics broken down over time. Useful for trend analysis.
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": {
"date_range": "<date_range>"
},
"name": "get_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filters | No | Optional filters, e.g. [["is", "visit:source", ["Google"]]] | |
| metrics | No | Metrics to retrieve | |
| interval | No | Time granularity | day |
| date_range | Yes | Date range: '7d', '30d', 'month', etc. |