Coach Watts Planned Workouts API

The Planned Workouts API from Coach Watts — 6 operation(s) for planned workouts.

GitHub OpenAPI

Operations 9

DELETE /api/planned-workouts/{id} Delete planned workout #
GET /api/planned-workouts/{id} Get planned workout #
PATCH /api/planned-workouts/{id} Update planned workout #
POST /api/planned-workouts/{id}/complete Complete planned workout #
POST /api/planned-workouts/{id}/skip Skip planned workout #
GET /api/planned-workouts List planned workouts #
POST /api/planned-workouts Create planned workout #
GET /api/workouts/planned/{id}/fueling Get planned workout fueling prep #
POST /api/workouts/planned/{id}/publish-garmin Publish planned workout to Garmin #

Work with this as data

Every API 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 apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • 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 API
curl "https://apis.io/api/v1/apis/coachwatts-com:coachwatts-com-planned-workouts-api"
All apis
curl "https://apis.io/api/v1/apis?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. See our Privacy Policy and Terms.

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

OpenAPI Specification

coachwatts-com-planned-workouts-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coachwatts Com Planned Workouts API
  version: 0.5.25
  description: 'Operations tagged Planned Workouts across 2 of this provider''s published API definitions: coachwatts-com-openapi.json, coachwatts-com-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://coachwatts.com
  description: Local Development Server
  variables: {}
tags:
- name: Planned Workouts
paths:
  /api/planned-workouts/{id}:
    delete:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  message:
                    type: string
        '401':
          description: Unauthorized
        '404':
          description: Workout not found
      summary: Delete planned workout
      description: Deletes a specific planned workout and removes it from Intervals.icu.
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: deleteApiPlannedWorkoutsById
      x-operation-id-source: derived
    get:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  title:
                    type: string
                  date:
                    type: string
                    format: date-time
                  type:
                    type: string
                  description:
                    type: string
                    nullable: true
                  durationSec:
                    type: integer
                    nullable: true
                  tss:
                    type: number
                    nullable: true
        '401':
          description: Unauthorized
        '404':
          description: Workout not found
      summary: Get planned workout
      description: Returns details for a specific planned workout.
      security:
      - bearerAuth: []
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: getApiPlannedWorkoutsById
      x-operation-id-source: derived
    patch:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  workout:
                    type: object
                  syncStatus:
                    type: string
                  message:
                    type: string
        '401':
          description: Unauthorized
        '404':
          description: Workout not found
      summary: Update planned workout
      description: Updates a specific planned workout and syncs changes to Intervals.icu.
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                date:
                  type: string
                  format: date-time
                title:
                  type: string
                description:
                  type: string
                type:
                  type: string
                durationSec:
                  type: integer
                tss:
                  type: number
                fuelingStrategy:
                  type: string
                  enum:
                  - STANDARD
                  - TRAIN_LOW
                  - HIGH_CARB
      operationId: patchApiPlannedWorkoutsById
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/planned-workouts/{id}/complete:
    post:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  plannedWorkout:
                    type: object
                  workout:
                    type: object
                    nullable: true
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '404':
          description: Workout not found
      summary: Complete planned workout
      description: Marks a planned workout as completed, optionally linking it to an actual workout. Bearer `workout:write`.
      security:
      - bearerAuth: []
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                workoutId:
                  type: string
                  nullable: true
      operationId: postApiPlannedWorkoutsByIdComplete
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/planned-workouts/{id}/skip:
    post:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  plannedWorkout:
                    type: object
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
        '404':
          description: Workout not found
      summary: Skip planned workout
      description: 'Marks a planned workout as skipped (`completionStatus: SKIPPED`). Bearer `workout:write`.'
      security:
      - bearerAuth: []
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: postApiPlannedWorkoutsByIdSkip
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/planned-workouts:
    get:
      tags:
      - Planned Workouts
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    id:
                      type: string
                    title:
                      type: string
                    date:
                      type: string
                      format: date-time
                    type:
                      type: string
                    description:
                      type: string
                      nullable: true
                    durationSec:
                      type: integer
                      nullable: true
                    tss:
                      type: number
                      nullable: true
                    trainingWeekId:
                      type: string
                      nullable: true
        '401':
          description: Unauthorized
      summary: List planned workouts
      description: Returns upcoming planned workouts for the authenticated user.
      inputSchema:
      - name: limit
        in: query
        schema:
          type: integer
          default: 10
      - name: startDate
        in: query
        schema:
          type: string
          format: date-time
      - name: endDate
        in: query
        schema:
          type: string
          format: date-time
      - name: independentOnly
        in: query
        schema:
          type: boolean
      operationId: getApiPlannedWorkouts
      x-operation-id-source: derived
    post:
      tags:
      - Planned Workouts
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  workout:
                    type: object
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
      summary: Create planned workout
      description: Creates a new planned workout and syncs it to Intervals.icu.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - date
              - title
              properties:
                date:
                  type: string
                  format: date-time
                title:
                  type: string
                description:
                  type: string
                type:
                  type: string
                  default: Ride
                category:
                  type: string
                durationSec:
                  type: integer
                tss:
                  type: number
                workIntensity:
                  type: number
                structuredWorkout:
                  type: object
                fuelingStrategy:
                  type: string
                  enum:
                  - STANDARD
                  - TRAIN_LOW
                  - HIGH_CARB
      operationId: postApiPlannedWorkouts
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/workouts/planned/{id}/fueling:
    get:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: OK
      summary: Get planned workout fueling prep
      description: Returns a fueling plan for a planned workout. Bearer `nutrition:read`.
      security:
      - bearerAuth: []
      operationId: getApiWorkoutsPlannedByIdFueling
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/workouts/planned/{id}/publish-garmin:
    post:
      tags:
      - Planned Workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Published successfully
        '400':
          description: Invalid request or missing permissions
        '401':
          description: Unauthorized
        '404':
          description: Workout not found
      summary: Publish planned workout to Garmin
      description: Publishes a planned workout to Garmin Training API or Courses API.
      operationId: postApiWorkoutsPlannedByIdPublishGarmin
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
x-refined-from:
- coachwatts-com-openapi.json
- coachwatts-com-openapi.yml