Coach Watts Goals API

The Goals API from Coach Watts — 6 operation(s) for goals.

GitHub OpenAPI

Operations 8

DELETE /api/goals/{id} Delete goal #
PATCH /api/goals/{id} Update goal #
GET /api/goals List user goals #
POST /api/goals Create goal #
GET /api/goals/review-result Get goal review result #
POST /api/goals/review Review goals #
POST /api/goals/suggest Suggest goals #
GET /api/goals/suggestions Get goal suggestions #

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-goals-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-goals-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Coachwatts Com Goals API
  version: 0.5.25
  description: 'Operations tagged Goals 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: Goals
paths:
  /api/goals/{id}:
    delete:
      tags:
      - Goals
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
        '401':
          description: Unauthorized
        '404':
          description: Goal not found
      summary: Delete goal
      description: Deletes a specific goal by ID.
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      operationId: deleteApiGoalsById
      x-operation-id-source: derived
    patch:
      tags:
      - Goals
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  goal:
                    type: object
        '401':
          description: Unauthorized
        '403':
          description: Forbidden
        '404':
          description: Goal not found
      summary: Update goal
      description: Updates a specific goal by ID.
      inputSchema:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        content:
          application/json:
            schema:
              type: object
              properties:
                title:
                  type: string
                description:
                  type: string
                currentValue:
                  type: number
                status:
                  type: string
                  enum:
                  - ACTIVE
                  - COMPLETED
                  - ARCHIVED
                targetDate:
                  type: string
                  format: date-time
                targetValue:
                  type: number
                aiContext:
                  type: string
                distance:
                  type: number
                elevation:
                  type: number
                duration:
                  type: number
                terrain:
                  type: string
                phase:
                  type: string
      operationId: patchApiGoalsById
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/goals:
    get:
      tags:
      - Goals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  goals:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                        type:
                          type: string
                        title:
                          type: string
                        description:
                          type: string
                          nullable: true
                        metric:
                          type: string
                          nullable: true
                        targetValue:
                          type: number
                          nullable: true
                        currentValue:
                          type: number
                          nullable: true
                        targetDate:
                          type: string
                          format: date-time
                          nullable: true
                        status:
                          type: string
        '401':
          description: Unauthorized
      summary: List user goals
      description: Returns all goals for the authenticated user.
      operationId: getApiGoals
      x-operation-id-source: derived
    post:
      tags:
      - Goals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  goal:
                    type: object
                    properties:
                      id:
                        type: string
                      title:
                        type: string
        '400':
          description: Invalid input
        '401':
          description: Unauthorized
      summary: Create goal
      description: Creates a new goal for the authenticated user.
      requestBody:
        content:
          application/json:
            schema:
              type: object
              required:
              - type
              - title
              properties:
                type:
                  type: string
                  enum:
                  - BODY_COMPOSITION
                  - EVENT
                  - PERFORMANCE
                  - CONSISTENCY
                title:
                  type: string
                description:
                  type: string
                targetDate:
                  type: string
                  format: date-time
                eventDate:
                  type: string
                  format: date-time
                eventType:
                  type: string
                metric:
                  type: string
                targetValue:
                  type: number
                startValue:
                  type: number
                currentValue:
                  type: number
                priority:
                  type: string
                  enum:
                  - LOW
                  - MEDIUM
                  - HIGH
                  default: MEDIUM
                aiContext:
                  type: string
                distance:
                  type: number
                elevation:
                  type: number
                duration:
                  type: number
                terrain:
                  type: string
                phase:
                  type: string
      operationId: postApiGoals
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/goals/review-result:
    get:
      tags:
      - Goals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  output:
                    type: object
                    nullable: true
                  isCompleted:
                    type: boolean
                  isFailed:
                    type: boolean
        '400':
          description: Job ID required
        '401':
          description: Unauthorized
      summary: Get goal review result
      description: Retrieves the status and result of a goal review job.
      inputSchema:
      - name: jobId
        in: query
        required: true
        schema:
          type: string
      operationId: getApiGoalsReviewResult
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/goals/review:
    post:
      tags:
      - Goals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  jobId:
                    type: string
                  message:
                    type: string
        '400':
          description: No active goals
        '401':
          description: Unauthorized
      summary: Review goals
      description: Triggers an AI review of all active goals.
      operationId: postApiGoalsReview
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/goals/suggest:
    post:
      tags:
      - Goals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  success:
                    type: boolean
                  jobId:
                    type: string
                  message:
                    type: string
        '401':
          description: Unauthorized
      summary: Suggest goals
      description: Triggers AI generation of personalized goal suggestions.
      operationId: postApiGoalsSuggest
      x-operation-id-source: derived
    servers:
    - url: https://coachwatts.com
      description: Local Development Server
      variables: {}
  /api/goals/suggestions:
    get:
      tags:
      - Goals
      parameters: []
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                  output:
                    type: object
                    nullable: true
                  isCompleted:
                    type: boolean
                  isFailed:
                    type: boolean
        '400':
          description: Job ID required
        '401':
          description: Unauthorized
      summary: Get goal suggestions
      description: Retrieves the status and result of a goal suggestion job.
      inputSchema:
      - name: jobId
        in: query
        required: true
        schema:
          type: string
      operationId: getApiGoalsSuggestions
      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