Vekta API
Training prescriptions

List a user's training prescriptions

Workouts planned for the user, most recent first, optionally restricted to a date range. Responds with 404 if the user does not exist or is not accessible to you.

GET
/users/{userId}/training-prescriptions
AuthorizationBearer <token>

Vekta api key, e.g. Authorization: Bearer vk_...

In: header

Path Parameters

userId*string

Id of a user you have access to (see GET /users), or the special value me for the user owning the api key

Query Parameters

from?string

Inclusive start of the date range (YYYY-MM-DD)

Formatdate
to?string

Inclusive end of the date range (YYYY-MM-DD)

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/me/training-prescriptions"
[  {    "id": "tpr_01JK4W2N9XQ3F5H7B8C6D2E9GT",    "date": "2026-08-12",    "time": "06:30:00",    "title": "3 x 12 min threshold",    "description": null,    "sport": "cycling",    "subSport": "road",    "trainingStimulus": "threshold",    "structure": [      {        "type": "step",        "label": "active",        "intensity": {          "vektaIntensity": "threshold",          "zone": "Z4",          "fromPower": "zone",          "fromHeartRate": "zone",          "minPower": 250,          "maxPower": 280,          "minPowerThresholdPercentage": 95,          "maxPowerThresholdPercentage": 106,          "minHeartRate": 160,          "maxHeartRate": 172,          "minMaxHeartRatePercentage": 85,          "maxMaxHeartRatePercentage": 91,          "minCadence": 85,          "maxCadence": 95,          "fromSpeed": "zone",          "minSpeed": 3.6,          "maxSpeed": 4.2,          "minSpeedThresholdPercentage": 92,          "maxSpeedThresholdPercentage": 104        },        "length": {          "type": "free"        }      }    ],    "zonesType": "power",    "distance": null,    "duration": 4500,    "freeDuration": 600,    "elevationGain": null,    "averagePower": 210,    "work": 950,    "calories": 980,    "rpe": 7,    "carbIntake": 60,    "comment": null,    "activityId": null  }]