Skip to content
Docs menu

Wellness

Daily health: steps, heart rate, sleep, HRV, stress, SpO2, respiration, hydration, blood pressure and intensity minutes. Most take a calendar date.

Every method below hangs off a Garmin instance. See Installation & setup for how to construct one:

import { GarminClient, Garmin, FileTokenStore } from "garminconnect-js";

const client = new GarminClient({ tokenStore: new FileTokenStore("./tokens") });
if (!(await client.loadTokens())) throw new Error("not connected to Garmin");
const garmin = new Garmin(client);

36 methods. The verification column says what has been confirmed against a live Garmin account, not merely unit-tested. AGENTS.md carries the full evidence per method.

MethodVerified
addHydrationDatalive-verified
deleteBloodPressurelive-verified
getAllDayEventslive-verified
getAllDayStresslive-verified
getBloodPressurelive-verified
getBodyBatterylive-verified
getBodyBatteryEventslive-verified
getCaloriesDailylive-verified
getDailyHydrationlive-verified
getDailyStatslive-verified
getDailyStepslive-verified
getDailyStresslive-verified
getDailySummarieslive-verified
getFloorslive-verified
getHeartRateslive-verified
getHrvDatalive-verified
getHrvDataRangelive-verified
getHydrationDatalive-verified
getIntensityMinutesDatalive-verified
getRespirationDatalive-verified
getRhrDailylive-verified
getRhrDaylive-verified
getSleepDailylive-verified
getSleepDatalive-verified
getSpo2Acclimationlive-verified
getSpo2Datalive-verified
getStatslive-verified
getStatsAndBodylive-verified
getStepsDatalive-verified
getStressDatalive-verified
getUserSummarylive-verified
getWeeklyIntensityMinuteslive-verified
getWeeklyStepslive-verified
getWeeklyStresslive-verified
setBloodPressurelive-verified
setSleepWindowlive-verified

addHydrationData

garmin.addHydrationData(valueInMl: number, when?: Date, cdate?: string | Date): Promise<HydrationLogResult | null>
const result = await garmin.addHydrationData(1);

Returns

HydrationLogResult, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

raw milliliters, magnitude capped at 10000, negative values allowed; no delete endpoint exists, so not safely round-trippable

Verification: live-verified

deleteBloodPressure

garmin.deleteBloodPressure(version: number | string, cdate: string | Date): Promise<unknown>
const result = await garmin.deleteBloodPressure(activityId, "2026-09-24");

Returns

unknown: Garmin's response is passed through unparsed. Cast it to whatever you need; this library does not model it.

deletes one reading by its version, taken from getBloodPressure

Verification: live-verified

getAllDayEvents

garmin.getAllDayEvents(cdate: string | Date): Promise<DailyEventsData | null>
const result = await garmin.getAllDayEvents("2026-09-24");

Returns

DailyEventsData, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

Verification: live-verified

getAllDayStress

garmin.getAllDayStress(cdate: string | Date): Promise<DailyStressData | null>
const result = await garmin.getAllDayStress("2026-09-24");

Returns

DailyStressData, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

Verification: live-verified

getBloodPressure

garmin.getBloodPressure(startdate: string | Date, enddate?: string | Date): Promise<BloodPressureRange | null>
const result = await garmin.getBloodPressure("2026-09-24");

Returns

BloodPressureRange:

FieldTypeAlways present
measurementSummariesunknown[]no

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

enddate defaults to startdate

Verification: live-verified

getBodyBattery

garmin.getBodyBattery(startdate: string | Date, enddate?: string | Date): Promise<BodyBatteryEntry[]>
const result = await garmin.getBodyBattery("2026-09-24");

Returns

An array of BodyBatteryEntry:

FieldTypeAlways present
datestringno
chargednumberno
drainednumberno

Plus the 9 fields of PersonalApi.BodyBatteryDailyReportDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

startTimestampGMT, endTimestampGMT, startTimestampLocal, endTimestampLocal, bodyBatteryValuesArray, bodyBatteryValueDescriptorDTOList, bodyBatteryDynamicFeedbackEvent, bodyBatteryActivityEvent, endOfDayBodyBatteryDynamicFeedbackEvent

Verification: live-verified

getBodyBatteryEvents

garmin.getBodyBatteryEvents(cdate: string | Date): Promise<BodyBatteryEvent[] | null>
const result = await garmin.getBodyBatteryEvents("2026-09-24");

Returns

An array of BodyBatteryEvent:

FieldTypeAlways present
eventTypestringno
eventStartTimeGmtstringno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Verification: live-verified

getCaloriesDaily

garmin.getCaloriesDaily(start: string | Date, end: string | Date): Promise<CaloriesDailyEntry[]>
const result = await garmin.getCaloriesDaily("2026-09-24", "2026-09-24");

Returns

An array of CaloriesDailyEntry:

FieldTypeAlways present
calendarDatestringno
activenumberno
restingnumberno
totalnumberno

merges active (metricId 22) and resting/BMR (metricId 23) series into [{calendarDate, active, resting, total}]

Verification: live-verified

getDailyHydration

garmin.getDailyHydration(start: string | Date, end: string | Date): Promise<DailyHydrationEntry[]>
const result = await garmin.getDailyHydration("2026-09-24", "2026-09-24");

Returns

An array of DailyHydrationEntry:

FieldTypeAlways present
calendarDatestringyes

Plus the 6 fields of PersonalApi.UserDailyHydrationDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

userId, valueInML, goalInML, lastEntryTimestampLocal, sweatLossInML, activityIntakeInML

GETs /usersummary-service/stats/hydration/daily/{start}/{end}: {calendarDate, valueInML, goalInML} per day that has an entry (the spec's sweatLossInML/activityIntakeInML were not seen). Garmin 400s end - start > 30 ("cannot be more than 31 days"), so longer ranges go in 31-day windows

Verification: live-verified

getDailyStats

garmin.getDailyStats(start: string | Date, end: string | Date, statsType: DailyStatsType): Promise<DailyStatsEntry[]>
const result = await garmin.getDailyStats("2026-09-24", "2026-09-24", statsType);

Returns

An array of DailyStatsEntry:

FieldTypeAlways present
calendarDatestringyes
values{yes
totalCalories`numbernull`
activeCalories`numbernull`
restingCalories`numbernull`
totalSteps`numbernull`
totalDistance`numbernull`
stepGoal`numbernull`

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

GETs /usersummary-service/stats/daily/{start}/{end}?statsType=CALORIES|STEPS; statsType is exactly "CALORIES" or "STEPS" (any other value, lower-case included, is a Garmin 404). Garmin 400s when end - start > 27, so longer ranges are fetched in 28-day windows and the rows concatenated; Garmin's per-request aggregations (averages) are DROPPED rather than returned wrong for a chunked range. A range with no data returns [] (Garmin answers null). Overlaps getDailySteps/getCaloriesDaily; this one returns total/active/resting calories together, and steps with totalDistance and stepGoal

Verification: live-verified

getDailySteps

garmin.getDailySteps(start: string | Date, end: string | Date): Promise<DailyStepsEntry[] | null>
const result = await garmin.getDailySteps("2026-09-24", "2026-09-24");

Returns

An array of DailyStepsEntry:

FieldTypeAlways present
calendarDatestringno
totalStepsnumberno
stepGoalnumberno

Plus the 1 field of PersonalApi.StepsDailyStatDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

totalDistance

auto-chunks ranges over Garmin's 28-day-per-request limit into ≤28-day windows and concatenates; a single request within the limit passes its (possibly null) result through unchecked

Verification: live-verified

getDailyStress

garmin.getDailyStress(start: string | Date, end: string | Date): Promise<DailyStressEntry[]>
const result = await garmin.getDailyStress("2026-09-24", "2026-09-24");

Returns

An array of DailyStressEntry:

FieldTypeAlways present
calendarDatestringyes

Plus the 1 field of PersonalApi.MultiValueWellnessChartItemDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

values

GETs /usersummary-service/stats/stress/daily/{start}/{end}: {calendarDate, values: {overallStressLevel, restStressDuration, lowStressDuration, mediumStressDuration, highStressDuration}} per day, durations in seconds. Garmin 400s end - start > 27 ("cannot be more than 28 days"), so longer ranges go in 28-day windows; a reversed range throws GarminError before any request

Verification: live-verified

getDailySummaries

garmin.getDailySummaries(start: string | Date, end: string | Date): Promise<DailySummary[]>
const result = await garmin.getDailySummaries("2026-09-24", "2026-09-24");

Returns

An array of DailySummary:

FieldTypeAlways present
calendarDatestringyes

Plus the 16 fields of PersonalApi.UserDailySummaryV2DTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

uuid, userProfilePk, source, includesWellnessData, includesActivityData, wellnessChronology, movement, calories, heartRate, intensityMinutes, stress, bodyBattery, hydration, respiration, pulseOx, jetLag

GETs /usersummary-service/v2/dailysummaries?startDate&endDate and unwraps data: one object per day grouped by topic (movement, calories, heartRate, intensityMinutes, stress, bodyBattery, hydration, respiration, pulseOx, jetLag), typed from PersonalApi.UserDailySummaryV2DTO. Garmin caps one request at a year ("must be P1Y or less": a 365-day span passes, 366 is a 400), so longer ranges go in 365-day windows. Days with no data are ABSENT, not empty rows; a reversed range throws GarminError before any request (Garmin would 400 "startDate must occur before endDate")

Verification: live-verified

getFloors

garmin.getFloors(cdate: string | Date): Promise<FloorsData>
const result = await garmin.getFloors("2026-09-24");

Returns

FloorsData:

FieldTypeAlways present
floorValuesArrayunknown[]no

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

throws GarminError if Garmin returns nothing

Verification: live-verified

getHeartRates

garmin.getHeartRates(cdate: string | Date): Promise<HeartRateData>
const result = await garmin.getHeartRates("2026-09-24");

Returns

HeartRateData:

FieldTypeAlways present
restingHeartRatenumberno
maxHeartRatenumberno
minHeartRatenumberno
heartRateValues`[number, numbernull][]`

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Verification: live-verified

getHrvData

garmin.getHrvData(cdate: string | Date): Promise<HrvData | null>
const result = await garmin.getHrvData("2026-09-24");

Returns

HrvData:

With the 11 fields of PersonalApi.HrvChartDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

userProfilePk, hrvSummary, hrvReadings, startTimestampGMT, endTimestampGMT, startTimestampLocal, endTimestampLocal, sleepStartTimestampGMT, sleepEndTimestampGMT, sleepStartTimestampLocal, sleepEndTimestampLocal

Verification: live-verified

getHrvDataRange

garmin.getHrvDataRange(start: string | Date, end: string | Date): Promise<HrvDataRange | null>
const result = await garmin.getHrvDataRange("2026-09-24", "2026-09-24");

Returns

HrvDataRange:

With the 2 fields of PersonalApi.HrvDailySummaryDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

hrvSummaries, userProfilePk

Verification: live-verified

getHydrationData

garmin.getHydrationData(cdate: string | Date): Promise<HydrationLogResult | null>
const result = await garmin.getHydrationData("2026-09-24");

Returns

HydrationLogResult, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

Verification: live-verified

getIntensityMinutesData

garmin.getIntensityMinutesData(cdate: string | Date): Promise<IntensityMinutesData | null>
const result = await garmin.getIntensityMinutesData("2026-09-24");

Returns

IntensityMinutesData, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

Verification: live-verified

getRespirationData

garmin.getRespirationData(cdate: string | Date): Promise<RespirationData | null>
const result = await garmin.getRespirationData("2026-09-24");

Returns

RespirationData, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

Verification: live-verified

getRhrDaily

garmin.getRhrDaily(start: string | Date, end: string | Date): Promise<RhrDailyEntry[]>
const result = await garmin.getRhrDaily("2026-09-24", "2026-09-24");

Returns

An array of RhrDailyEntry:

FieldTypeAlways present
calendarDatestringno
valuenumberno

reshapes allMetrics.metricsMap into [{calendarDate, value}], dropping null values

Verification: live-verified

getRhrDay

garmin.getRhrDay(cdate: string | Date): Promise<RhrDayData | null>
const result = await garmin.getRhrDay("2026-09-24");

Returns

RhrDayData, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

Verification: live-verified

getSleepDaily

garmin.getSleepDaily(start: string | Date, end: string | Date): Promise<SleepDailyEntry[]>
const result = await garmin.getSleepDaily("2026-09-24", "2026-09-24");

Returns

An array of SleepDailyEntry:

FieldTypeAlways present
calendarDatestringno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Garmin's endpoint has a documented 28-day-per-request limit; ranges beyond that are auto-chunked, de-duplicated by calendarDate, and sorted

Verification: live-verified

getSleepData

garmin.getSleepData(cdate: string | Date): Promise<SleepData | null>
const result = await garmin.getSleepData("2026-09-24");

Returns

SleepData:

FieldTypeAlways present
dailySleepDTOSleepWindowno
sleepLevelsRecord<string, unknown>[]no

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Verification: live-verified

getSpo2Acclimation

garmin.getSpo2Acclimation(cdate: string | Date): Promise<Spo2Acclimation | null>
const result = await garmin.getSpo2Acclimation("2026-09-24");

Returns

Spo2Acclimation:

With the 28 fields of PersonalApi.DailySpO2AndAcclimationDTO, typed from Garmin's Personal API spec. All optional: Garmin leaves out what does not apply, and may also send fields the spec does not list.

userProfilePK, calendarDate, startTimestampGMT, endTimestampGMT, startTimestampLocal, endTimestampLocal, sleepStartTimestampGMT, sleepEndTimestampGMT, sleepStartTimestampLocal, sleepEndTimestampLocal, tomorrowSleepStartTimestampGMT, tomorrowSleepEndTimestampGMT, tomorrowSleepStartTimestampLocal, tomorrowSleepEndTimestampLocal, averageSpO2, lowestSpO2, lastSevenDaysAvgSpO2, latestSpO2, latestSpO2TimestampGMT, latestSpO2TimestampLocal, avgSleepSpO2, avgTomorrowSleepSpO2, spO2SingleValuesDescriptorList, spO2SingleValues, spO2HourlyAveragesDescriptorList, spO2HourlyAverages, monitoringEnvironmentValuesDescriptorList, monitoringEnvironmentValues

GETs /wellness-service/wellness/daily/spo2acclimation/{cdate} (Garmin's Personal API spec): the day's SpO2 averages, sleep and hourly series and the monitoring environment, typed from PersonalApi.DailySpO2AndAcclimationDTO. Distinct from getSpo2Data's path. A day with no data (even 2030-01-01) still returns the object, fields null

Verification: live-verified

getSpo2Data

garmin.getSpo2Data(cdate: string | Date): Promise<Spo2Data | null>
const result = await garmin.getSpo2Data("2026-09-24");

Returns

Spo2Data:

FieldTypeAlways present
lastSevenDaysAvgSpO2numberno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

coerces a string lastSevenDaysAvgSpO2 to a number

Verification: live-verified

getStats

garmin.getStats(cdate: string | Date): Promise<UserSummary>
const result = await garmin.getStats("2026-09-24");

Returns

UserSummary:

FieldTypeAlways present
totalStepsnumberno
totalDistanceMetersnumberno
activeKilocaloriesnumberno
privacyProtectedbooleanno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

alias of getUserSummary

Verification: live-verified

getStatsAndBody

garmin.getStatsAndBody(cdate: string | Date): Promise<StatsAndBody>
const result = await garmin.getStatsAndBody("2026-09-24");

Returns

StatsAndBody, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

merges getUserSummary with the body-composition totalAverage block, delegating to getBodyComposition (bodyComposition service) for the latter

Verification: live-verified

getStepsData

garmin.getStepsData(cdate: string | Date): Promise<StepsEntry[]>
const result = await garmin.getStepsData("2026-09-24");

Returns

An array of StepsEntry:

FieldTypeAlways present
startGMTstringno
endGMTstringno
stepsnumberno
primaryActivityLevelstringno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Verification: live-verified

getStressData

garmin.getStressData(cdate: string | Date): Promise<DailyStressData | null>
const result = await garmin.getStressData("2026-09-24");

Returns

DailyStressData, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

identical URL to getAllDayStress; an alias

Verification: live-verified

getUserSummary

garmin.getUserSummary(cdate: string | Date): Promise<UserSummary>
const result = await garmin.getUserSummary("2026-09-24");

Returns

UserSummary:

FieldTypeAlways present
totalStepsnumberno
totalDistanceMetersnumberno
activeKilocaloriesnumberno
privacyProtectedbooleanno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Verification: live-verified

getWeeklyIntensityMinutes

garmin.getWeeklyIntensityMinutes(start: string | Date, end: string | Date): Promise<WeeklyIntensityMinutesEntry[] | null>
const result = await garmin.getWeeklyIntensityMinutes("2026-09-24", "2026-09-24");

Returns

An array of WeeklyIntensityMinutesEntry:

FieldTypeAlways present
calendarDatestringno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Verification: live-verified

getWeeklySteps

garmin.getWeeklySteps(end: string | Date, weeks?: number): Promise<WeeklyStepsEntry[] | null>
const result = await garmin.getWeeklySteps("2026-09-24");

Returns

An array of WeeklyStepsEntry:

FieldTypeAlways present
calendarDatestringno
totalStepsnumberno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

weeks defaults to 52, must be a positive integer

Verification: live-verified

getWeeklyStress

garmin.getWeeklyStress(end: string | Date, weeks?: number): Promise<WeeklyStressEntry[] | null>
const result = await garmin.getWeeklyStress("2026-09-24");

Returns

An array of WeeklyStressEntry:

FieldTypeAlways present
calendarDatestringno

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

same weeks default/validation as getWeeklySteps

Verification: live-verified

setBloodPressure

garmin.setBloodPressure(systolic: number, diastolic: number, pulse?: number, when?: Date, notes?: string): Promise<BloodPressureSetResult | null>
const result = await garmin.setBloodPressure(1, 1);

Returns

BloodPressureSetResult, an object whose fields this library does not model. Garmin's response is passed through unparsed, so read one to see what you get, or use a Record<string, unknown> and narrow it yourself.

validates systolic 70-260, diastolic 40-150, pulse (if given) 20-250, all integers; when defaults to new Date()

Verification: live-verified

setSleepWindow

garmin.setSleepWindow(cdate: string | Date, sleepStart: Date, sleepEnd: Date): Promise<SleepWindow | null>
const result = await garmin.setSleepWindow("2026-09-24", new Date("2026-09-23T22:30:00Z"), new Date("2026-09-24T06:30:00Z"));

Returns

SleepWindow:

FieldTypeAlways present
id`numbernull`
userProfilePK`numbernull`
calendarDate`stringnull`
sleepTimeSeconds`numbernull`
napTimeSeconds`numbernull`
sleepWindowConfirmed`booleannull`
sleepWindowConfirmationType`stringnull`
sleepStartTimestampGMT`numbernull`
sleepEndTimestampGMT`numbernull`
sleepStartTimestampLocal`numbernull`
sleepEndTimestampLocal`numbernull`
autoSleepStartTimestampGMT`numbernull`
autoSleepEndTimestampGMT`numbernull`
deepSleepSeconds`numbernull`
lightSleepSeconds`numbernull`
remSleepSeconds`numbernull`
awakeSleepSeconds`numbernull`
deviceRemCapable`booleannull`
retro`booleannull`
sleepFromDevice`booleannull`
averageSpO2Value`numbernull`
sleepScores`Record<string, unknown>null`
sleepVersion`numbernull`

Plus every other field Garmin sends: this type carries an index signature because the real response is wider than the fields above, which are the ones this library relies on or has observed. Read an actual response before depending on a field that is not listed.

Sets one night's bedtime and wake time, as Garmin Connect's edit-sleep-times dialog does. cdate is the date Garmin files the night under, the WAKE-UP day. Reads the night through getSleepData first. A RECORDED night's id is its current sleepStartTimestampGMT in epoch ms and CHANGES after every edit, so it is read fresh, then PUT to /sleep-service/sleep/dailySleep/{id} with {calendarDate, sleepStartTimestampGMT, sleepEndTimestampGMT, sleepTimeSeconds, napTimeSeconds, sleepWindowConfirmed: true, userProfilePK, id}, timestamps in epoch MILLISECONDS. A night no device recorded comes back as a shell with id: null; then the same body without id is POSTed to /sleep-service/sleep/dailySleep, which CREATES the window. That POST answers id: null although the stored record has one, so the method returns the read-back instead. Returns the stored record (sleepWindowConfirmationType: "manually_confirmed", the new id). Garmin recomputes sleepTimeSeconds (it subtracts awake time) and the sleep score, but NOT the sleep stages: added time is counted as light sleep. Garmin 400s a window more than 6 days from calendarDate ("Sleep start and end must be within 6 days of calendarDate."); a 30-hour window is accepted. There is no delete (DELETE.../dailySleep/{id} is a 405): a created window can be moved, never removed. Moving one back restores the window and duration, though the night stays manually_confirmed. Throws GarminError before any request for an invalid Date or sleepStart >= sleepEnd, and before any write when Garmin returns no record, the record has no numeric userProfilePK, or its id is neither null nor a number

Verification: live-verified

Methods in this category