WHOOP Recovery Trend
whoop_recovery_trendAggregate up to 30 days of recovery data to reveal trends in recovery score, HRV, and resting heart rate. Get averages, extremes, and direction of change to see if your recovery is rising or falling.
Instructions
Aggregate WHOOP recovery over the last N days (default 30) into a per-metric trend for recovery score, HRV (hrv_rmssd_milli) and resting heart rate.
Each metric returns { avg, min, max, slope, direction, n_valid } where slope is a least-squares fit over the chronologically ordered scored records (oldest to newest) and direction is rising, falling, stable or insufficient_data. Use this to answer "is my recovery trending up or down?" without paging the raw collection yourself. Read-only; fetches recent WHOOP v2 records, computes statistics, stores nothing. Not medical advice.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Number of days to aggregate into the trend. Minimum 2 (slope needs two points), maximum 30. Defaults to 30. | |
| timezone | No | IANA timezone reserved for display, e.g. America/New_York. | UTC |
| response_format | No | markdown |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | Yes | ||
| metrics | Yes | ||
| diagnostic | Yes | ||
| data_quality | Yes | ||
| generated_at | Yes | ||
| lookback_days | Yes |