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

x-vital-api-key
string
header
required

Vital Team API Key

Path Parameters

workout_id
string
required

The Vital ID for the workout

Response

200
application/json
Successful Response

The response is of type object.