get_plan_compliance
Compare planned workouts with completed activities in a date range to measure plan compliance. Returns deviations in duration and load, and identifies missed, upcoming, and unplanned activities.
Instructions
Use to compare planned workouts with the activities done in a date range (read-only, two API calls).
Planned workouts (calendar WORKOUT events) are linked to activities by the event's paired_activity_id or the activity's paired_event_id; each pair shows planned vs actual duration and load with the deviation in %. An activity counts for one event only. Unlinked past workouts are missed, those of today or later upcoming (athlete's local date). Activities without a planned workout are unplanned; those linked to a workout outside the range are listed apart. Completion = completed / (completed + missed). NOTE events with training availability, allowed sports or a maximum training time are listed too. Method: intervals://methods/summary (get_guide).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end_date | Yes | Last day YYYY-MM-DD | |
| athlete_id | No | Default: the configured athlete | |
| start_date | Yes | First day YYYY-MM-DD |