Skip to content
Docs menu

Back to all methods

getEnduranceScore

read

Endurance score for a date, or weekly aggregates over a date range. TWO branches by presence of `enddate`: no `enddate` hits the single-day endpoint; with `enddate` hits `.../stats` with hard-coded `aggregation="weekly"`.

getEnduranceScore(startdate, enddate?)
ParameterTypeOptionalDescription
startdatestringnoCalendar date, YYYY-MM-DD (UTC)
enddatestringyesCalendar date, YYYY-MM-DD (UTC)

In Claude this is the get_endurance_score tool.

Guide: metrics