get_events
Retrieve fitness events for an athlete from Intervals.icu, using athlete ID, API key, and optional date range to filter results. Simplifies access to training and performance data.
Instructions
Get events for an athlete from Intervals.icu
Args:
athlete_id: The Intervals.icu athlete ID (optional, will use ATHLETE_ID from .env if not provided)
api_key: The Intervals.icu API key (optional, will use API_KEY from .env if not provided)
start_date: Start date in YYYY-MM-DD format (optional, defaults to today)
end_date: End date in YYYY-MM-DD format (optional, defaults to 30 days from today)
Input Schema
Name | Required | Description | Default |
---|---|---|---|
api_key | No | ||
athlete_id | No | ||
end_date | No | ||
start_date | No |
Input Schema (JSON Schema)
{
"properties": {
"api_key": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Api Key"
},
"athlete_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Athlete Id"
},
"end_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "End Date"
},
"start_date": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"default": null,
"title": "Start Date"
}
},
"title": "get_eventsArguments",
"type": "object"
}