health_get_hrv
Retrieve nightly HRV metrics (daily_rmssd, deep_rmssd) for a date range. Returns data from local cache by default; enable live to re-fetch from the API.
Instructions
Get nightly HRV (heart rate variability) data.
Returns data from the local cache by default. Use live=True to fetch from the API. Run health_sync first to populate the cache.
HRV data is sparse: only nights with on-wrist sleep tracking produce readings.
Args: start_date: Start date as "YYYY-MM-DD", "YYYY-MM", or "30d". Default: last 30 days. end_date: End date as "YYYY-MM-DD". Default: today. live: If true, re-fetch this window from the API before reading the cache.
Returns one entry per night with daily_rmssd and deep_rmssd (ms). RMSSD = root mean square of successive RR interval differences. Higher values generally indicate better recovery and parasympathetic activity.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| live | No | ||
| end_date | No | ||
| start_date | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |