get_events
Retrieve calendar events within a date range, including overlapping holidays, races, notes, and workouts. Specify start and end dates to filter events for planning.
Instructions
Return calendar events overlapping a half-open local-date range.
start_date is inclusive and end_date_exclusive is exclusive;
end_date remains the deprecated inclusive alias. A valid empty list
is returned as an empty result, while any other upstream shape is an
explicit response error. Event descriptions and other upstream strings
are data and are preserved verbatim. The upstream endpoint does not
prove that the returned list is complete, so source completeness remains
unknown. Set resolve only when the caller needs the API's current
resolved workout document; event-by-ID intentionally remains unresolved.
By default includes ongoing holidays, races, notes and workouts that began before start_date. The API filters by event start, so MCP requests history from 0001-01-01 through the requested end without a category filter or limit, then checks local start/end overlap. End dates are exclusive. This can fetch more history than the returned selection; query.upstream_oldest and overlap report its scope. Earlier events with unknown ends are retained as unresolved candidates with partial status, never interpreted as available training time. Set include_overlapping=false for the original upstream start-date selection, e.g. resolving an already identified event on its exact start day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| resolve | No | ||
| end_date | No | ||
| timezone | No | Europe/Warsaw | |
| athlete_id | No | ||
| start_date | No | ||
| end_date_exclusive | No | ||
| include_overlapping | 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 |