TrainingPeaks · OpenAPI Overlay 1.0.0

API Evangelist conversational phrasing for TrainingPeaks Partners Nutrition API

5 actions 5 updates phrasing extends openapi/trainingpeaks-nutrition-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 5

$.info
$.paths['/v1/athletes/{athleteId}/nutrition'].get
$.paths['/v1/athletes/{athleteId}/nutrition'].post
$.paths['/v1/athletes/{athleteId}/nutrition/{nutritionId}'].put
$.paths['/v1/athletes/{athleteId}/nutrition/{nutritionId}'].delete

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 Nutrition API
  version: 1.0.0
extends: openapi/trainingpeaks-nutrition-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: 4
- target: $.paths['/v1/athletes/{athleteId}/nutrition'].get
  update:
    x-apievangelist-phrasing:
      intent: Get an athlete's nutrition log
      effect: read
      questions:
      - How many calories did an athlete eat each day this week?
      - Can I read an athlete's nutrition log for a date range?
      instructions:
      - text: Get nutrition for athlete {athleteId}.
        slots:
          athleteId: path.athleteId
      - text: Show {athleteId}'s nutrition log from {startDate} to {endDate}.
        slots:
          athleteId: path.athleteId
          startDate: query.startDate
          endDate: query.endDate
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/athletes/{athleteId}/nutrition'].post
  update:
    x-apievangelist-phrasing:
      intent: Log an athlete's nutrition
      effect: write
      questions:
      - How do I record what an athlete ate in their nutrition log?
      - Can I log calories, carbs and protein for an athlete?
      instructions:
      - text: Log {calories} calories for athlete {athleteId} on {date}.
        slots:
          calories: requestBody.Calories
          athleteId: path.athleteId
          date: requestBody.Date
      - text: Add a nutrition entry for {athleteId} with {carbs}g carbs, {protein}g protein and {fat}g fat.
        slots:
          athleteId: path.athleteId
          carbs: requestBody.CarbohydratesInGrams
          protein: requestBody.ProteinInGrams
          fat: requestBody.FatInGrams
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/athletes/{athleteId}/nutrition/{nutritionId}'].put
  update:
    x-apievangelist-phrasing:
      intent: Edit an athlete's nutrition log
      effect: write
      questions:
      - Can I change an existing nutrition log entry?
      - How do I correct an athlete's logged calories?
      instructions:
      - text: Update nutrition entry {nutritionId} for athlete {athleteId}.
        slots:
          nutritionId: path.nutritionId
          athleteId: path.athleteId
      - text: Change {athleteId}'s nutrition entry {nutritionId} to {calories} calories.
        slots:
          athleteId: path.athleteId
          nutritionId: path.nutritionId
          calories: requestBody.Calories
      method: generated
      generated: '2026-11-20'
- target: $.paths['/v1/athletes/{athleteId}/nutrition/{nutritionId}'].delete
  update:
    x-apievangelist-phrasing:
      intent: Delete an athlete's nutrition log entry
      effect: destructive
      questions:
      - How do I remove a nutrition entry from an athlete's log?
      - Can I delete a single day's nutrition log?
      instructions:
      - text: Delete nutrition entry {nutritionId} for athlete {athleteId}.
        slots:
          nutritionId: path.nutritionId
          athleteId: path.athleteId
      - text: Remove the nutrition log entry {nutritionId} from {athleteId}.
        slots:
          nutritionId: path.nutritionId
          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-nutrition-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.