Run realtime report
run_realtime_reportRuns a report over the hits of the last 30 minutes. Dimensions: minute, page, event_name, source_medium, channel, country, device_category. Metrics: active_users, events, pageviews. Bots are not counted. An empty answer can also mean that the realtime feed is late.
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": {
"container_id": "<container_id>",
"metrics": "<metrics>"
},
"name": "run_realtime_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Rows, 1-1000. Default 100. | |
| metrics | Yes | Objects {name}. See the tool description for the names. | |
| orderBys | No | {metric: {metricName}, desc} or {dimension: {dimensionName}, desc}. | |
| dimensions | No | Objects {name}. See the tool description for the names. | |
| server_name | No | Server name (required when connected to multiple servers). | |
| container_id | Yes | Container ID (starts with "trc_") | |
| minuteRanges | No | One object {startMinutesAgo: 0-29, endMinutesAgo}. Default: the last 30 minutes. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| rows | Yes | ||
| totals | No | ||
| metadata | No | ||
| row_count | No |