get_efforts_by_segment_id
Retrieve the authenticated athlete's segment efforts for a specified segment. Filter by date range and paginate results to analyze performance.
Instructions
List Segment Efforts
Endpoint: GET /segment_efforts
Description: Returns a set of the authenticated athlete's segment efforts for a given segment. Requires subscription.
Read-only operation.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"segment_id": "<segment_id>"
},
"name": "get_efforts_by_segment_id"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| per_page | No | Number of items per page. Defaults to 30. | |
| segment_id | Yes | The identifier of the segment. | |
| end_date_local | No | ISO 8601 formatted date time. | |
| start_date_local | No | ISO 8601 formatted date time. |