get_daily_activity_statistics
Returns aggregated daily step count and energy consumption data for any date range up to 28 days. Use to get total daily activity metrics instead of detailed time-series.
Instructions
Returns aggregated daily step count and energy consumption (joules) from the /247 API for the given datetime range. Response is an array of AggregatedActivityData objects, each with a Name ('stepcount' or 'energyconsumption'), Aggregation ('sum'), and Sources array containing per-device Samples with TimeISO8601 and Value. Maximum fetch interval is 28 days. Samples with null Value indicate no data synced for that day. Prefer this tool over list_daily_activity when you need totals rather than intraday time-series. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| startdate | Yes | Start datetime in ISO-8601 format (e.g. 2026-04-01T00:00:00). Data is stored in UTC. | |
| enddate | Yes | End datetime in ISO-8601 format (e.g. 2026-04-30T23:59:59). Must be within 28 days of startdate. |