Betterness
Bett-iDocsTutorialsAboutAugmented Wellness

Overview

Trust

Resources

System

Get Started

Recipes

Reference

DocsCLIRecipesWearables & Health Data

Wearables & Health Data

Connect a device, sync, query activity, sleep, vitals, and body composition.

Prerequisites

  • Authenticated CLI
  • For Apple Health: the Betterness iOS app installed

Check connected devices

betterness connected-devices list

See available integrations

betterness connected-devices available

Providers: Apple Health, Garmin, Oura, Withings, Peloton, Wahoo, Eight Sleep.

Connect a device

Apple Health (only path — does not work via link):

betterness connected-devices apple-health-code

Returns a one-time code for the Junction app and a deep link (betti://settings/wearables?autoConnect=APPLE_HEALTH_KIT) that opens the Betterness iOS app and starts the connection automatically.

All other providers (browser-based authorization):

betterness connected-devices link --integration-key OURA

Disconnect

betterness connected-devices disconnect --integration-key GARMIN

Query health data

All commands accept --from, --to (YYYY-MM-DD), and --timezone (IANA). Always pass --timezone so daily aggregations align with your local day. Use 7-30 day ranges.

betterness activity get --from 2026-03-01 --to 2026-03-17 --timezone America/Denver
betterness sleep get --from 2026-03-10 --timezone America/Denver
betterness sleep stages --from 2026-03-15 --timezone America/Denver
betterness vitals get --from 2026-03-01 --timezone America/Denver
betterness body-composition get --from 2026-03-01 --timezone America/Denver

What each command returns

CommandMetrics
activitySteps, distance, active + basal calories, floors, VO2 max, workouts (type, duration)
sleepTime in bed, total sleep, breakdown by stage (deep, light/core, REM, awake)
sleep stagesMinute-by-minute stage transitions grouped by night
vitalsHeart rate, HRV, blood pressure, SpO2, glucose, respiratory rate
body-compositionWeight, body fat %, muscle mass, BMI, waist circumference

If data is empty

  • Run connected-devices list — verify the relevant wearable is connected
  • Some metrics need specific devices (HRV requires Oura/Apple Watch; glucose requires a CGM)
  • Sync delays — most wearables backfill within minutes, some up to a few hours
Search BiomarkersHealth Profile
© 2026 Betterness Inc.
Privacy PolicyTerms of ServiceHealth Data