Health

Get move summary data for all periods

Returns move summary charts and totals for day, week, month, 6m, and year. Every period counts LOCAL calendar days in time_zone. A tracker day's total comes from its hourly rows in that zone; the UTC-day rollup is used only on a day the zone sits at UTC+0 all day. A day without tracker hours has no tracker steps (the Day total is 0 with an empty chart). Phone (Health) steps win a day whenever they exist.

get/api/health/move-summary/all

Request

  • Base URL
    https://api.hiyd.ai
  • Auth
    HTTP bearer

Query parameters

datestring date
Example:2026-01-24

Date for the summary (defaults to today)

period'day' | 'week' | 'month' | '6m' | 'year'

Optional single period to return; omit to get all periods

time_zonestring
Example:America/Los_Angeles

IANA zone the days and hours are counted in. Omitted or unrecognised values mean UTC.

window'calendar' | 'trailing'

trailing: Week is the 7 local days ending on date (inclusive) and Month the 30 local days ending on it, with steps null on days without steps. calendar (or omitted): the calendar week (Sunday to Saturday) and month holding date, with 0 on days without steps. Day, 6m and year are always calendar.

Response

Move summary data per period. Each summaries.<period> holds: date; window ('trailing' when a trailing window was applied, else 'calendar'); date_range {start, end} (inclusive, local dates); steps.total; steps.average_daily_steps, the mean over the days in the range that have steps, leaving out today (still in progress) unless it is the only such day; steps.average_days, how many days that mean covers; steps.chart_data (day: {time, steps} per hour with steps; week/month: {date, label, steps} for every day of the range; 6m/year: {period, label, steps} per month).

datestring
summariesobject

Changes

No recorded changes to this operation across all 1 revision of this API.