Sleep
Sleep Cycle
Meal
Workouts
Profile
Activity
Body
Menstrual Cycle
Electrocardiogram
Vitals Timeseries
Activity Timeseries
Wellness Timeseries
Diary Timeseries
Nutrition Timeseries
Summary
Get sleep cycle for user_id
Authorizations
Vital Team API Key
Path Parameters
Query Parameters
Start date in YYYY-MM-DD
End date (inclusive) in YYYY-MM-DD
Provider oura/strava etc
Response
Source summarizes where a sample or a summary is sourced from. At minimum, the source provider is always included.
Provider slug. e.g., oura
, fitbit
, garmin
.
The identifier of the app which recorded this summary. This is only applicable to multi-source providers like Apple Health and Android Health Connect.
Deprecated. Subject to removal after 1 Jan 2024.
Deprecated. Subject to removal after 1 Jan 2024.
Deprecated. Use provider
instead. Subject to removal after 1 Jan 2024.
The type of the data source (app or device) by which the summary or the timeseries data were recorded. This defaults to unknown
when Vital cannot extract or infer that information
oura
, fitbit
, garmin
, whoop
, strava
, renpho
, peloton
, wahoo
, zwift
, freestyle_libre
, abbott_libreview
, freestyle_libre_ble
, eight_sleep
, withings
, apple_health_kit
, manual
, ihealth
, google_fit
, beurer_api
, beurer_ble
, omron
, omron_ble
, onetouch_ble
, accuchek_ble
, contour_ble
, dexcom
, dexcom_v3
, hammerhead
, my_fitness_pal
, health_connect
, polar
, cronometer
, kardia
, whoop_v2
, ultrahuman
, my_fitness_pal_v2
, map_my_fitness
unknown
, phone
, watch
, app
, multiple_sources
, fingerprick
, cuff
, manual_scan
, automatic
, scale
, chest_strap
, ring
, lab
Sleep stage classification:
-1
: Unknown or unclassified sleep stage;
1
: Deep sleep;
2
: Light/non-REM sleep;
3
: Rapid Eye Movement sleep;
4
: Awake period;
5
: Manually classified stage.
-1
, 1
, 2
, 3
, 4
, 5