get_athlete_power_curves
Retrieve an athlete's best power output across standard durations, with filters for activity type, indoor/outdoor, and date ranges. Use to analyze performance trends.
Instructions
Get power curves for an athlete from Intervals.icu.
Returns best power output for selected durations across specified time periods. Uses FFT power computation. Power values are in watts.
Args: activity_type: Activity type (e.g. "Ride", "Run", "VirtualRide"). Default is "Ride". durations: Durations in seconds to include. Default is [5, 15, 30, 60, 120, 300, 600, 1200, 3600] indoor_outdoor: Filter by location — "indoor" or "outdoor". Omit for no filtering. start_date: Start date (YYYY-MM-DD) for custom date range curve. Must be used with end_date. end_date: End date (YYYY-MM-DD) for custom date range curve. Must be used with start_date. this_season: Include this season's curve (default True) last_season: Include last season's curve (default True) include_normalised: Include weight-normalised W/kg values (default True) athlete_id: Intervals.icu athlete ID (optional, uses ATHLETE_ID from .env if not provided) api_key: Optional API key override. Uses API_KEY from .env if not provided.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| end_date | No | ||
| durations | No | ||
| athlete_id | No | ||
| start_date | No | ||
| last_season | No | ||
| this_season | No | ||
| activity_type | No | Ride | |
| indoor_outdoor | No | ||
| include_normalised | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |