Sleep
Sleep Cycle
Meal
Workouts
Profile
Activity
Body
Menstrual Cycle
Electrocardiogram
Vitals Timeseries
Activity Timeseries
Wellness Timeseries
Diary Timeseries
Nutrition Timeseries
Summary
Get workout summary for user_id
Authorizations
Vital Team API Key
Path Parameters
Query Parameters
Provider oura/strava etc
Date from in YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 00:00:00
Date to YYYY-MM-DD or ISO formatted date time. If a date is provided without a time, the time will be set to 23:59:59
Response
Date of the workout summary in the YYYY-mm-dd format. This generally matches the workout start date.
Provider ID given for that specific workout
Source the data has come from.
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
End time of the workout::time
Start time of the workout::time
User id returned by vital create user request. This id should be stored in your database against the user and used for all interactions with the vital api.
Average heart rate during workout::bpm
Average speed during workout in m/s::meters/sec
Average watts burned during exercise::watts
Calories burned during the workout::kCal
Watts burned during exercise::watts
Distance travelled during workout::meters
Highest point of elevation::meters
Lowest point of elevation::meters
Time in seconds spent in different heart rate zones <50%, 50-60%, 60-70%, 70-80%, 80-90%, 90%+. Due to rounding errors, it's possible that summing all values is different than the total time of the workout. Not available for all providers::seconds
Map of workouts encoded as polyline
Max heart rate during workout::bpm
Max speed during workout in m/s::meters/sec
Max watts burned during exercise::watts
Time spent active during the workout::seconds
Number of steps accumulated during this workout::count
Timezone offset from UTC as seconds. For example, EEST (Eastern European Summer Time, +3h) is 10800. PST (Pacific Standard Time, -8h) is -28800::seconds
Title given for the workout
Elevation gain during the workout::meters
Weighted average watts burned during exercise::watts