get_wellness_data
Retrieve an athlete's wellness data from Intervals.icu, including training metrics, vitals, sleep, and subjective scores. Specify a date range and optionally include custom fields.
Instructions
Get wellness data for an athlete from Intervals.icu.
By default returns standard wellness fields (training metrics, vitals, sleep, subjective scores, etc.). Set include_all_fields=True to also include any additional or custom fields configured by the user in 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 30 days ago) end_date: End date in YYYY-MM-DD format (optional, defaults to today) include_all_fields: If True, include additional and custom fields beyond the standard set (optional, defaults to False)
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | ||
| end_date | No | ||
| athlete_id | No | ||
| start_date | No | ||
| include_all_fields | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |