Event Time Series
rybbit_get_event_timeseriesRetrieve custom event counts as time-series data to analyze trends over time; configure buckets and filters to compare event activity across days or custom intervals.
Instructions
Get custom event counts as time-series data, one row per event name and day unless another bucket is given. Useful for analyzing event trends over time.
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": {
"siteId": "<siteId>"
},
"name": "rybbit_get_event_timeseries"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bucket | No | Time bucket granularity. Use 'hour' for a single day, 'week'/'month' for long ranges | day |
| siteId | Yes | Site ID (numeric ID or domain identifier) | |
| endDate | No | End date in ISO format (YYYY-MM-DD) | |
| filters | No | Array of filters. Example: [{parameter:'browser',type:'equals',value:['Chrome']},{parameter:'country',type:'equals',value:['US','DE']}] | |
| timeZone | No | IANA timezone (e.g., Europe/Prague). Default: UTC | |
| startDate | No | Start date in ISO format (YYYY-MM-DD) | |
| pastMinutesEnd | No | Alternative to dates: minutes ago end (default 0 = now) | |
| pastMinutesStart | No | Alternative to dates: minutes ago start (e.g., 60 = last hour) |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | No | ||
| note | No | Caveat about this response, e.g. how many rows were returned and how to get the rest | |
| truncated | No | True when rows were dropped to keep the response under the size cap |