Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Queries the Google Health API v4 CLI for 40 data types, including steps, heart rate, sleep, weight, and HRV.
27% 86%+59 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 6 of 22 without it.
I already know the unique record ID for a specific hydration log entry (`hyd_98765`). What ghealth CLI command fetches this single point directly without searching through a list?
The command uses ghealth data hydration-log get --id hyd_98765.
3 of 3 safety checks passed
CLI for the Google Health API v4. 40 verified data types.
Prerequisites: See ../ghealth-shared/SKILL.md for auth, setup, global flags.
| Goal | Operation | Example |
|---|---|---|
| Daily totals (steps, distance, calories) | daily-rollup | ghealth data steps daily-rollup --from 2026-03-22 --to 2026-03-29 |
| Individual readings (HR, weight, SpO2) | list | ghealth data heart-rate list --from today --limit 20 |
| Sessions (exercise, sleep) | list | ghealth data exercise list --from 2026-03-01 |
| Daily summaries (resting HR, HRV, resp rate) | list | ghealth data daily-resting-heart-rate list --from 2026-03-01 |
| Merged multi-source data | reconcile | ghealth data weight reconcile --from 2026-01-01 |
Why this matters: steps list returns minute-level intervals without counts. Use daily-rollup to get actual step totals (countSum). Same for distance (millimetersSum) and floors.
Run ghealth schema types for the live version. Quick reference:
Use daily-rollup for totals:
steps → countSum per daydistance → millimetersSum per daytotal-calories → kcalSum per day (rollup-only)floors → countSum (rollup-only)active-minutes → (rollup-only)swim-lengths-data → strokeCountSum per daycalories-in-heart-rate-zone → caloriesInHeartRateZones per day (rollup-only)Use list for readings:
heart-rate, weight (writable), body-fat (writable), height (writable), oxygen-saturation, heart-rate-variability, altitude, vo2-max, active-zone-minutes, activity-level, basal-energy-burned, active-energy-burned, blood-glucose, core-body-temperature, respiratory-rate-sleep-summary, run-vo2-max, sedentary-period, swim-lengths-data, hydration-log
Use list for sessions:
exercise (writable) — includes type, duration, calories, HR summary, notessleep (writable) — includes summary by default. Add --detail for per-stage breakdown.Cardiac (dedicated scopes, list-only):
electrocardiogram — waveform samples + rhythm classification. Requires ecg.readonly.Next to this one in the catalogue, plus more from the same author.