compare_periods
Compare analytics metrics across two time periods to measure the impact of updates or events, showing absolute and percent change per series.
Instructions
Compare metrics between two time ranges, with absolute and percent change per series. Use it to measure the effect of an update, an event, or a marketing push: set current to the window after the change and leave baseline empty to compare against the equal-length window immediately before it, or set baseline explicitly to compare against, say, the same week last year.
With a breakdown, series are matched by label so you can see which platform or country actually moved.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| filter | No | Narrow results to specific dimension values. | |
| metrics | Yes | Exact, case-sensitive metric names. | |
| breakdown | No | Dimensions to split both periods by. | |
| 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. | |
| currentEndTime | No | End of the period of interest. | |
| baselineEndTime | No | End of the comparison period. | |
| currentLastDays | No | Or: the last N complete days. | |
| baselineLastDays | No | Or: N days for the baseline window. | |
| currentStartTime | No | Start of the period of interest. | |
| baselineStartTime | No | Start of the comparison period. Omit to use the window immediately before current. |