get_activity_best_efforts
Fetch ranked best efforts from an activity stream by duration or distance. Provide a stream and one selector to receive top efforts with average units.
Instructions
Find upstream best efforts by one duration or distance selector.
Choose this to ask Intervals.icu for ranked efforts on a named stream.
duration is positive seconds or distance is positive finite metres;
exactly one is required. start_index and the exclusive end_index
are sample indices. end_index=0 is the upstream whole-stream
sentinel, while end_index=None omits that optional parameter.
count is locally limited to 1..100. The MCP preserves
each Effort and its metadata, reports average units (W, bpm, m/s, or
unknown for custom streams), and performs no FTP, VO2, or numeric
calculations. min_value may expand an effort, so returned durations
and bounds remain upstream facts; source completeness is unknown.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| count | No | ||
| stream | Yes | ||
| api_key | No | ||
| distance | No | ||
| duration | No | ||
| end_index | No | ||
| min_value | No | ||
| activity_id | Yes | ||
| start_index | No | ||
| exclude_intervals | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | ||
| error | No | ||
| query | No | ||
| source | Yes | ||
| status | Yes | ||
| coverage | Yes | ||
| warnings | No | ||
| pagination | No | ||
| request_id | No | ||
| schema_version | No | 1.0 |