Aggregates over fixed time windows
get_rollupAggregates health data into custom physical-time windows, such as hourly steps or heart rate per 60 minutes during workouts, for interval-based analysis.
Instructions
Aggregated values over physical-time windows (e.g. heart rate per 60 minutes during a workout, steps per hour today). Use get_daily_rollup for per-day values.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| endTime | Yes | RFC-3339 timestamp with offset (exclusive). | |
| dataType | Yes | ||
| startTime | Yes | RFC-3339 timestamp with offset, e.g. 2026-11-07T06:00:00+05:30. | |
| windowMinutes | Yes | Bucket size in minutes, e.g. 60 for hourly. |