Get power curves
get_power_curvesRetrieve an athlete's best mean maximal power curves for a chosen sport, optionally filtered by date range, to analyze peak power and performance trends.
Instructions
Get the athlete's best mean maximal power curves across activities of one sport. secs and values on each curve are the curve itself. The bulk activities lookup map is omitted unless you pass fields ["*"].
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | Sport type - REQUIRED, and exactly one (the API rejects a comma-separated list). e.g. Ride, VirtualRide, GravelRide, Run, VirtualRun, Swim | |
| curves | No | Which curves to return, e.g. "42d" or "all". Invalid values are rejected by the API with the list of valid ones. | |
| fields | No | Fields to return. Defaults to a compact 13-field summary; the full record has ~20 fields, many of them null. Pass ["*"] for everything. | |
| newest | No | End date YYYY-MM-DD | |
| oldest | No | Start date YYYY-MM-DD |