query_metrics
Retrieve multiple Roblox analytics metrics at once with shared breakdown and filter, auto-pacing to avoid API request limits and handle per-metric errors.
Instructions
Query several metrics over the same time range in one call, with the same breakdown and filter applied to each. Prefer this over repeated query_metric calls: the API allows only 30 queries per minute per account, and this paces them automatically.
A metric that fails (commonly because the experience does not use that feature) is reported with an error field and does not abort the rest. Breakdowns and filters a given metric does not support are dropped for that metric rather than failing it.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Narrow results to specific dimension values. | |
| endTime | No | Exclusive end. Defaults to today's UTC midnight so only complete buckets are returned — pass 'now' if you want the partial current day included. | |
| metrics | Yes | Exact, case-sensitive metric names. | |
| lastDays | No | Shorthand for the last N complete UTC days. Cannot be combined with startTime. | |
| breakdown | No | Dimensions to split by, where supported. | |
| startTime | No | Inclusive start. RFC 3339 (2026-01-01T00:00:00Z), a date (2026-01-01), or relative (-30d, -12w, -6mo, -2y, -48h, today, yesterday). | |
| universeId | No | Roblox universe (experience) ID, or a saved alias. Optional when a default universe is configured — use get_server_status to check, or find_universes to look one up. | |
| granularity | No | Time bucket size. OneDay suits most metrics; OneMinute/HalfHour/OneHour are for performance metrics; None returns a single aggregate for the whole range (the correct way to get distinct users or total revenue for a period). | |
| includeDataPoints | No | Include raw per-bucket values. Default false for this multi-metric view. |