Vekta API
Training prescriptions

List a user's training prescriptions

The user's planned workouts, most recent first.

You can filter by date. Hidden prescriptions are only returned to the person who created them.

Responds with:

  • 404 not_found: the user doesn't exist or isn't one of your athletes.
  • 403 subscription_required: the user (or you, for me) doesn't have an active Vekta subscription.
  • 400 bad_request: invalid parameters or payload.
GET
/users/{userId}/training-prescriptions

Authorization

AuthorizationBearer <token>

Your Vekta API key, sent as Authorization: Bearer vk_..., or an OAuth access token of an app you connected, sent as Authorization: Bearer <access token>.

In: header

Path Parameters

userId*string

Id of a user you have access to (see GET /users), or me for yourself

Query Parameters

from?string

First date to include (YYYY-MM-DD)

Formatdate
to?string

Last date to include (YYYY-MM-DD)

Formatdate

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/users/me/training-prescriptions"
[  {    "id": "tpr_01JK4W2N9XQ3F5H7B8C6D2E9GT",    "prescribedBy": "usr_01JGXW3KQ2B8C4D5E6F7G8H9J0",    "workspaceId": "wke_01JGXW3KQ2B8C4D5E6F7G8H9J0",    "hidden": false,    "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",          "stroke": "freestyle",          "passive": true,          "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  }]