Skip to content
Docs menu

Back to all methods

getLactateThreshold

read

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

getLactateThreshold(latest?, startDate?, endDate?, aggregation?)
ParameterTypeOptionalDescription
latestbooleanyes
startDatestringyesCalendar date, YYYY-MM-DD (UTC)
endDatestringyesCalendar date, YYYY-MM-DD (UTC)
aggregation"daily" | "weekly" | "monthly" | "yearly"yes

In Claude this is the get_lactate_threshold tool.

Guide: metrics