Get peaks
tp_get_peaksRetrieve an athlete's top cycling or running performances and personal records by sport, PR type, and time period. Ideal for tracking fitness peaks over days, with a default 90-day range.
Instructions
Get an athlete's top performances for one sport and PR type over a period (days, default 90). Bike pr_type: power1min/5min/20min; Run: speed5K/10K/Half. For PRs from a single workout use tp_get_workout_prs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | ||
| sport | Yes | ||
| athlete | No | Target athlete name or ID (coach accounts only). Omit to use your own profile. | |
| pr_type | Yes | Bike: power1min/5min/20min. Run: speed5K/10K/Half |