get_daily_activity_statistics
Retrieve daily step count and energy consumption totals (in joules) for any date range up to 28 days. Use this to get aggregated daily activity data instead of intraday 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 |
|---|---|---|---|
| enddate | Yes | End datetime in ISO-8601 format (e.g. 2026-04-30T23:59:59). Must be within 28 days of startdate. | |
| startdate | Yes | Start datetime in ISO-8601 format (e.g. 2026-04-01T00:00:00). Data is stored in UTC. |