Sleep
Sleep Cycle
Meal
Workouts
Profile
Activity
Body
Menstrual Cycle
Electrocardiogram
Vitals Timeseries
- GETAfib Burden
- GETBlood Oxygen
- GETBlood Pressure
- GETCholesterol
- GETGlucose
- GETHeart Rate
- GETHeart Rate Variability
- GETHeart Rate Alert
- GETInsulin Injection
- GETIgg
- GETIge
- GETRespiratory Rate
- GETVo2 Max
- GETForced Expiratory Volume 1
- GETForced Vital Capacity
- GETPeak Expiratory Flow Rate
- GETInhaler Usage
- GETHeart Rate Recovery One Minute
Body Timeseries
Activity Timeseries
Workout Stream Timeseries
Wellness Timeseries
Diary Timeseries
Nutrition Timeseries
Workouts
Stream
GET
/
v2
/
timeseries
/
workouts
/
{workout_id}
/
stream
curl --request GET \
--url {{BASE_URL}}/v2/summary/workouts/{workout_id}/stream \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>'
{
"altitude": [
10,
20,
30,
40,
50
],
"cadence": [
10,
12,
12,
11,
10
],
"distance": [
12,
15,
18,
20,
25
],
"heartrate": [
120,
125,
125,
130,
135
],
"lat": [
10,
20,
30,
40,
50
],
"lng": [
10,
20,
30,
40,
50
],
"power": [
100,
100,
100,
100,
100
],
"resistance": [
10,
20,
30,
40,
50
],
"time": [
1626625123,
1626625140,
1626625145,
1626625150,
162662560
],
"velocity_smooth": [
10,
20,
30,
40,
50
]
}
curl --request GET \
--url {{BASE_URL}}/v2/summary/workouts/{workout_id}/stream \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>'
Authorizations
Vital Team API Key
Path Parameters
The Vital ID for the workout
Response
200
application/json
Successful Response
The response is of type object
.
curl --request GET \
--url {{BASE_URL}}/v2/summary/workouts/{workout_id}/stream \
--header 'Accept: application/json' \
--header 'x-vital-api-key: <API_KEY>'
{
"altitude": [
10,
20,
30,
40,
50
],
"cadence": [
10,
12,
12,
11,
10
],
"distance": [
12,
15,
18,
20,
25
],
"heartrate": [
120,
125,
125,
130,
135
],
"lat": [
10,
20,
30,
40,
50
],
"lng": [
10,
20,
30,
40,
50
],
"power": [
100,
100,
100,
100,
100
],
"resistance": [
10,
20,
30,
40,
50
],
"time": [
1626625123,
1626625140,
1626625145,
1626625150,
162662560
],
"velocity_smooth": [
10,
20,
30,
40,
50
]
}