getDashboardData
Fetch all Garmin training dashboard data in one call: HR zones, fitness age, recent and comparison activities, HRV, sleep, daily summaries, units, and sync status.
Instructions
All the data of the training dashboard in one call: HR zones, fitness age, the activities of the
last weeks weeks (compact summaries, with strength sets and laps where they apply), the activities
of the weeks before for the period comparison, daily HRV, and the last 14 days of sleep and daily
summaries, and units: the measurement system of the Garmin profile (metric, statute_us or
statute_uk) that the page shows; the data itself is always metric; locale: the language of
the Garmin profile, e.g. it or pt-BR. Keeps a local cache and
fetches from Garmin only what is new since the last call, so a rebuild or an update needs few
calls. sync in the result says what was fetched: Garmin calls, .FIT files downloaded
(fitDownloads) and new activities.
digest, first in the result: the server's totals for the whole period and for each
Monday-Sunday week (sessions, km, hours, load), the training load of the last 7 and 28 days,
best efforts, races and strength top sets; quote them instead of your own sums. For another
date range, use the activities: each one is on its own line.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| weeks | No | Weeks to cover, default 12, max 52 | |
| workouts | No | Also the laps of the runs of each run name that repeats, to compare a workout across weeks: the last 8 (downloaded once) and older ones whose .FIT file is saved; default false |