Stress
get_stressRetrieve day-by-day all-day stress for a date range, including Garmin's 0-100 stress score and high, medium, low, and rest stress durations. Use it to inspect daily stress patterns.
Instructions
Day-by-day all-day stress over a range, one row per day as Garmin returns it: calendarDate, then values with overallStressLevel (Garmin's 0-100 score) and highStressDuration, mediumStressDuration, lowStressDuration and restStressDuration in seconds. For trends over weeks or months, or 'which weekday am I most stressed', use summarize_wellness (stress per period, group_by='weekday'); stress during sleep is avg_stress in get_sleep_summaries. Up to 92 days per call: pass a period (e.g. last_7_days, last_30_days, this_month) or start_date/end_date.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| period | No | Named period resolved in the user's time zone (weeks start Monday). Use instead of start_date/end_date. | |
| end_date | No | Last day, YYYY-MM-DD, inclusive. Defaults to start_date. Max span 92 days. | |
| start_date | No | First day, YYYY-MM-DD, inclusive. Required unless period is given. |