get_activity_intervals
Retrieve detailed interval metrics for a specific activity, including power, heart rate, cadence, speed, and environmental data, using the Intervals.icu API. Includes grouped intervals if applicable.
Instructions
Get interval data for a specific activity from Intervals.icu
This endpoint returns detailed metrics for each interval in an activity, including power, heart rate,
cadence, speed, and environmental data. It also includes grouped intervals if applicable.
Args:
activity_id: The Intervals.icu activity ID
api_key: The Intervals.icu API key (optional, will use API_KEY from .env if not provided)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
activity_id | Yes | ||
api_key | No |
Input Schema (JSON Schema)
{
"properties": {
"activity_id": {
"title": "Activity Id",
"type": "string"
},
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Api Key"
}
},
"required": [
"activity_id"
],
"title": "get_activity_intervalsArguments",
"type": "object"
}