Health

Each day's daytime low and last heart-rate reading over a range

One entry for every date from start to end inclusive, in order, so the app can load many days of resting heart rate in one request instead of one hourly /heart-rate-timeline per day. Each day is summarized exactly as /heart-rate-timeline?granularity=hourly&date=D with the same time_zone summarizes it:

  • daytime_low: the lowest hourly point between 11 AM and 11 PM (hour_24 11 to 22) in that response, taking each hour's min (its heart_rate when min is missing) and skipping missing or non-positive values; null when there is none.
  • last_reading: that response's stats.current, the day's latest heart-rate reading; null when the day has none.
  • last_reading_at: that response's stats.current_at, the ISO-8601 UTC time of last_reading; null when last_reading is null.
get/api/health/heart-rate-days

Request

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

Query parameters

startstring date required
endstring date required
time_zonestring
Example:America/Los_Angeles

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

Response

One entry per date from start to end

Changes

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