TrainingPeaks · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for TrainingPeaks Partners Workouts API

21 actions 21 updates phrasing extends openapi/trainingpeaks-workouts-api-openapi.yml
Generated by API Evangelist Written by API Evangelist tooling for TrainingPeaks's API. It is a proposal applied on top of the contract, not a document TrainingPeaks publishes.
View Overlay File View on GitHub Overlay Specification

What the actions change

x-apievangelist-phrasing

Targets 21 · first 16 shown; the file carries all of them

$.info
$.paths['/v2/workouts/{startDate}/{endDate}'].get
$.paths['/v2/workouts/{athleteId}/{startDate}/{endDate}'].get
$.paths['/v2/workouts/changed'].get
$.paths['/v2/workouts/{athleteId}/changed'].get
$.paths['/v2/workouts/wod/{date}'].get
$.paths['/v2/workouts/wod/file/{workoutId}/'].get
$.paths['/v2/workouts/plan'].post
$.paths['/v2/workouts/plan/{id}'].put
$.paths['/v2/workouts/id/{id}'].get
$.paths['/v2/workouts/id/{id}'].delete
$.paths['/v2/workouts/{athleteId}/id/{id}'].get
$.paths['/v2/workouts/{athleteId}/id/{id}'].delete
$.paths['/v2/workouts/id/{id}/meanmaxes'].get
$.paths['/v2/workouts/{athleteId}/id/{id}/meanmaxes'].get
$.paths['/v2/workouts/id/{id}/timeinzones'].get

OpenAPI Overlay

Raw ↑
# Generated by API Evangelist (build-phrasing.py). Our phrasing, not observed demand.
overlay: 1.0.0
info:
  title: API Evangelist conversational phrasing for TrainingPeaks Partners Workouts API
  version: 1.0.0
extends: openapi/trainingpeaks-workouts-api-openapi.yml
actions:
- target: $.info
  update:
    x-apievangelist-phrasing:
      method: generated
      generated: '2026-11-20'
      generator: build-phrasing.py
      label: Generated by API Evangelist
      operations: 20
- target: $.paths['/v2/workouts/{startDate}/{endDate}'].get
  update:
    x-apievangelist-phrasing:
      intent: List my planned and completed workouts for a date range
      effect: read
      questions:
      - How do I pull all my planned and completed workouts for a week?
      - Can I include workout descriptions when fetching a date range?
      instructions:
      - text: List my workouts from {startDate} to {endDate}.
        slots:
          startDate: path.startDate
          endDate: path.endDate
      - text: Show my planned and completed workouts between {startDate} and {endDate} with descriptions.
        slots:
          startDate: path.startDate
          endDate: path.endDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/{startDate}/{endDate}'].get
  update:
    x-apievangelist-phrasing:
      intent: List an athlete's workouts for a date range
      effect: read
      questions:
      - How do I see a single athlete's workouts for a date range?
      - Can a coach pull an athlete's planned and completed workouts?
      instructions:
      - text: List workouts for athlete {athleteId} from {startDate} to {endDate}.
        slots:
          athleteId: path.athleteId
          startDate: path.startDate
          endDate: path.endDate
      - text: Show athlete {athleteId}'s planned and completed workouts between {startDate} and {endDate}.
        slots:
          athleteId: path.athleteId
          startDate: path.startDate
          endDate: path.endDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/changed'].get
  update:
    x-apievangelist-phrasing:
      intent: List workouts changed since a date
      effect: read
      questions:
      - How do I sync only the workouts that changed since a date?
      - What workouts were modified after a given date?
      instructions:
      - text: List workouts changed since {date}.
        slots:
          date: query.date
      - text: Sync my workouts modified after {date}.
        slots:
          date: query.date
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/changed'].get
  update:
    x-apievangelist-phrasing:
      intent: List an athlete's changed workouts since a date
      effect: read
      questions:
      - How do I sync an athlete's workouts changed since a date?
      - Can a coach get only the workouts that changed for one athlete?
      instructions:
      - text: List workouts changed for athlete {athleteId} since {date}.
        slots:
          athleteId: path.athleteId
          date: query.date
      - text: Sync athlete {athleteId}'s workouts modified after {date}.
        slots:
          athleteId: path.athleteId
          date: query.date
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/wod/{date}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get the planned workout of the day
      effect: read
      questions:
      - What workout is planned for today?
      - Can I get the Workout of the Day for a future date?
      instructions:
      - text: Get the Workout of the Day for {date}.
        slots:
          date: path.date
      - text: Show today's planned workout.
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/wod/file/{workoutId}/'].get
  update:
    x-apievangelist-phrasing:
      intent: Download the Workout of the Day file
      effect: read
      questions:
      - How do I download the planned workout file for a date?
      - Can I get the Workout of the Day in a specific format?
      instructions:
      - text: Download the Workout of the Day file for workout {workoutId} as {format}.
        slots:
          workoutId: path.workoutId
          format: query.format
      - text: Get the planned workout {workoutId} in {format} format.
        slots:
          workoutId: path.workoutId
          format: query.format
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/plan'].post
  update:
    x-apievangelist-phrasing:
      intent: Create a planned workout
      effect: write
      questions:
      - How do I plan a new workout for an athlete?
      - Can a basic athlete create a workout for the future?
      instructions:
      - text: Create a planned workout titled {Title} for athlete {AthleteId}.
        slots:
          Title: requestBody.Title
          AthleteId: requestBody.AthleteId
      - text: Plan a {WorkoutType} workout {Title} starting at {StartTime}.
        slots:
          WorkoutType: requestBody.WorkoutType
          Title: requestBody.Title
          StartTime: requestBody.StartTime
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/plan/{id}'].put
  update:
    x-apievangelist-phrasing:
      intent: Update a planned workout
      effect: write
      questions:
      - How do I edit a planned workout by id?
      - Can I change the structure of an existing planned workout?
      instructions:
      - text: Update planned workout {id} with title {Title}.
        slots:
          id: path.id
          Title: requestBody.Title
      - text: Change the structure of planned workout {id} to {Structure}.
        slots:
          id: path.id
          Structure: requestBody.Structure
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/id/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get one of my workouts by id
      effect: read
      questions:
      - How do I fetch a single workout by id?
      - Can I include the description when fetching one workout?
      instructions:
      - text: Get workout {id}.
        slots:
          id: path.id
      - text: Show my workout {id} with its description.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/id/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete one of my workouts by id
      effect: destructive
      questions:
      - How do I delete a workout I planned?
      - Can I remove a planned workout by id?
      instructions:
      - text: Delete workout {id}.
        slots:
          id: path.id
      - text: Remove my planned workout {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/id/{id}'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an athlete's workout by id
      effect: read
      questions:
      - How do I view one of my athlete's workouts by id?
      - Can a coach fetch a single athlete workout?
      instructions:
      - text: Get workout {id} for athlete {athleteId}.
        slots:
          id: path.id
          athleteId: path.athleteId
      - text: Show athlete {athleteId}'s workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/id/{id}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an athlete's workout by id
      effect: destructive
      questions:
      - How do I delete a workout from one of my athletes?
      - Can a coach remove an athlete's planned workout?
      instructions:
      - text: Delete workout {id} for athlete {athleteId}.
        slots:
          id: path.id
          athleteId: path.athleteId
      - text: Remove athlete {athleteId}'s workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/id/{id}/meanmaxes'].get
  update:
    x-apievangelist-phrasing:
      intent: Get mean-max data for a completed workout
      effect: read
      questions:
      - How do I get power and HR mean-max curves for a completed workout?
      - What mean-max data is available for a completed workout?
      instructions:
      - text: Get mean-max data for my completed workout {id}.
        slots:
          id: path.id
      - text: Show the power and HR mean-max curves for workout {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/id/{id}/meanmaxes'].get
  update:
    x-apievangelist-phrasing:
      intent: Get mean-max data for an athlete's completed workout
      effect: read
      questions:
      - How do I get mean-max data for one of my athletes' completed workouts?
      - Can a coach view an athlete's mean-max curves?
      instructions:
      - text: Get mean-max data for athlete {athleteId}'s completed workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      - text: Show the power and HR mean-max curves for athlete {athleteId}'s workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/id/{id}/timeinzones'].get
  update:
    x-apievangelist-phrasing:
      intent: Get time-in-zones for a completed workout
      effect: read
      questions:
      - How do I see how much time I spent in each training zone?
      - What time-in-zones data is available for a completed workout?
      instructions:
      - text: Get time-in-zones for my completed workout {id}.
        slots:
          id: path.id
      - text: Show how long I spent in each zone for workout {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/id/{id}/timeinzones'].get
  update:
    x-apievangelist-phrasing:
      intent: Get time-in-zones for an athlete's completed workout
      effect: read
      questions:
      - How do I see an athlete's time-in-zones for a completed workout?
      - Can a coach view an athlete's zone time?
      instructions:
      - text: Get time-in-zones for athlete {athleteId}'s completed workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      - text: Show how much time athlete {athleteId} spent in each zone for workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/id/{id}/details'].get
  update:
    x-apievangelist-phrasing:
      intent: Get sample-level detail data for a completed workout
      effect: read
      questions:
      - How do I get sample-by-sample detail data for a completed workout?
      - What does a completed workout's detail data include?
      instructions:
      - text: Get sample-level detail data for my completed workout {id}.
        slots:
          id: path.id
      - text: Show the detail data for completed workout {id}.
        slots:
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/id/{id}/details'].get
  update:
    x-apievangelist-phrasing:
      intent: Get completed workout details for an athlete
      effect: read
      questions:
      - How do I see the sample-level details of a completed workout for one athlete?
      - Does viewing an athlete's completed workout require the workouts:details scope?
      instructions:
      - text: Get the details of workout {id} for athlete {athleteId}.
        slots:
          id: path.id
          athleteId: path.athleteId
      - text: Show sample-level data for athlete {athleteId}'s completed workout {id}.
        slots:
          athleteId: path.athleteId
          id: path.id
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/workouts/{athleteId}/id/{workoutId}/comment'].post
  update:
    x-apievangelist-phrasing:
      intent: Post a coach comment on an athlete's workout
      effect: write
      questions:
      - How do I leave a comment on an athlete's workout?
      - Can a coach add a comment to a planned workout?
      instructions:
      - text: Post a comment {Comment} on athlete {athleteId}'s workout {workoutId}.
        slots:
          Comment: requestBody.Comment
          athleteId: path.athleteId
          workoutId: path.workoutId
      - text: Comment {Comment} on workout {workoutId} for athlete {athleteId}.
        slots:
          Comment: requestBody.Comment
          workoutId: path.workoutId
          athleteId: path.athleteId
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v2/athletes/{athleteId}/strength-workouts'].get
  update:
    x-apievangelist-phrasing:
      intent: List an athlete's strength workouts
      effect: read
      questions:
      - How do I pull an athlete's strength workouts?
      - Can I list only the strength workouts for one athlete?
      instructions:
      - text: List strength workouts for athlete {athleteId}.
        slots:
          athleteId: path.athleteId
      - text: Show athlete {athleteId}'s strength training workouts.
        slots:
          athleteId: path.athleteId
      method: generated
      generated: '2026-11-20'

Work with this as data

Every overlay here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for openapi overlays

4 MCP tools reach this
  • find_overlaysBrowse and filter every overlay in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This overlay
curl "https://apis.io/api/v1/overlays/trainingpeaks-workouts-api-phrasing-overlay"
All openapi overlays
curl "https://apis.io/api/v1/overlays?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.