rybbit_get_metric
Retrieve analytics metrics segmented by dimensions like browser, country, or pathname to analyze performance across specific parameters.
Instructions
Get dimensional breakdown of metrics by a specific parameter (browser, country, pathname, etc.)
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>",
"parameter": "<parameter>"
},
"name": "rybbit_get_metric"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | Page number for pagination | |
| limit | No | Results per page | |
| siteId | Yes | Site ID or identifier | |
| endDate | No | End date in YYYY-MM-DD format | |
| filters | No | JSON array of filter objects with parameter, type, and value fields | |
| timeZone | No | IANA timezone identifier (e.g., America/New_York) | |
| parameter | Yes | Dimension to break down by (browser, operating_system, device_type, country, region, city, pathname, page_title, hostname, querystring, referrer, utm_source, utm_medium, utm_campaign, user_id, event_name) | |
| startDate | No | Start date in YYYY-MM-DD format | |
| pastMinutesEnd | No | Minutes ago for end (alternative to date-based) | |
| pastMinutesStart | No | Minutes ago for start (alternative to date-based) |