latestSwagger 2.0BSD License2026-08-107753105.4 KB

52b0eb5e8b96

profile

Sleep detail

Provides sleep detail data.

get/profile/{profile_public_id}/sleep_detail/

Query parameters

cursorstring

The pagination cursor value.

page_sizeinteger

Number of results to return per page.

date_startstring date-time

Lower bound of date or timestamp.

date_endstring date-time

Upper bound of date or timestamp.

Response

OK

timestampstring date-time required

Starting UTC time of the measurement.

source'AGGREGATED' | 'ANDROID' | 'APPLE' | 'FITBIT' | 'GARMIN' | 'GOOGLE_HEALTH' | 'GOOGLEFIT' | 'HEALTHCONNECT' | 'HUAWEI' | 'MYZONE' | 'OMH' | 'OMRON' | 'OURA' | 'POLAR' | 'SAMSUNG' | 'STRAVA' | 'SUUNTO' | 'WF' | 'WHOOP' | 'WITHINGS' required

Origin of the data.

timestamp_endstring date-time

Ending time of the measurement.

level'AWAKE' | 'LIGHT' | 'DEEP' | 'REM' | 'UNKNOWN' required

Sleep level