get_lactate_threshold
Retrieve lactate threshold speed, heart rate, and power from Garmin Connect. Choose latest readings or date-range daily, weekly, monthly, or yearly aggregates.
Instructions
defaults latest=true, aggregation="daily". TWO DIFFERENT branches: latest=true returns {speed_and_heart_rate, power} from two GETs; latest=false (requires startDate, throws otherwise) returns {speed, heart_rate, power} from three GETs
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| latest | No | ||
| endDate | No | Calendar date, YYYY-MM-DD (UTC) | |
| startDate | No | Calendar date, YYYY-MM-DD (UTC) | |
| aggregation | No |