Sleep (nightly summary)
get_sleep_summaryRetrieve nightly sleep metrics from Withings sleep mats or watches, including sleep stages, efficiency, heart and breathing rate, snoring, and score for a chosen date range.
Instructions
Nightly sleep from a Withings sleep mat or watch: total sleep, time in bed, deep/light/REM/awake minutes, efficiency, latency, wake-ups, sleep score, heart and breathing rate, snoring, breathing disturbances. A night is labelled by the day it ends. Default: last 7 days; up to 366 days.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | No | Last calendar day (inclusive), YYYY-MM-DD. Default: today (local). | |
| start_date | No | First calendar day, YYYY-MM-DD. Default: 6 days before end_date. |