Worklore API

Worklore API as documented publicly. Contract generated from the documentation by API Evangelist (2026-11-29); not the provider's own document.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 15

GET / GET / #
POST /api/oauth/token Intervals.icu OAuth quirks — no refresh_token, "Duplicate scope", and why the init endpoint must be POST #
POST /api/v1/athlete/{id}/events Create an event via POST /api/v1/athlete/{id}/events with workout_doc.steps #
GET /api/v1/athlete/{id}/wellness Intervals.icu OAuth quirks — no refresh_token, "Duplicate scope", and why the init endpoint must be POST #
POST /auth/init Intervals.icu OAuth quirks — no refresh_token, "Duplicate scope", and why the init endpoint must be POST #
POST /events My AI agent generates structured triathlon workouts and pushes them to Intervals.icu via POST /events #
GET /events/{id} Read the event back with GET /events/{id} #
POST /mcp POST /mcp #
GET /oauth2/v3/userinfo GET https://www.googleapis.com/oauth2/v3/userinfo with the access_token to read sub, email, name, picture. #
POST /register An MCP server that signs users in: OAuth 2.1 on AWS Lambda, start to token #
POST /v0.1/servers/{name} POST /v0.1/servers/{name} #
GET /v0/servers Getting into the MCP Registry: server.json, a read:org token, and why listed ≠ discoverable #
POST /v0/servers POST /v0/servers #
POST /v1/stories/{storieid}/signal POST /v1/stories/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-/signal #
GET /v1beta/models A second AI opinion inside Claude Code — Gemini over curl, no arena apps #

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/worklore-dev:worklore-dev-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. 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.

OpenAPI Specification

worklore-dev-openapi-generated.yml Raw ↑
openapi: 3.1.0
info:
  title: Worklore API
  version: '2026-11-29'
  description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-11-29: 15 operation(s) read from 17 public documentation page(s) (each
    operation names its page in x-source). This is not the provider''s published contract; Worklore has published no machine-readable contract
    that the pipeline could find. Engine: local.'
  x-evidence-tiers:
    code-example: 15
    documentation: 0
    pages-with-code: 17
    pages-read: 17
  x-generated-from: documentation
  x-provenance: generated
  x-authored-by: API Evangelist
  x-generated: '2026-11-29'
  x-generator: generate-contract-from-docs.py
  x-engine: local
  x-sources:
  - https://worklore.dev/s/2026-09-25-an-mcp-server-for-the-price-of-one-more-endpoint
  - https://worklore.dev/s/2026-10-23-how-i-reduced-firestore-reads-from-179-to-2-per-tap
  - https://worklore.dev/s/2026-09-14-adding-google-sign-in-so-non-developers-can-use-your-app
  - https://worklore.dev/s/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-
  - https://worklore.dev/s/2026-05-12-exact-hr-corridors-on-garmin-from-intervals-icu-api-workouts
  - https://worklore.dev/s/2026-07-31-a-serverless-api-in-one-afternoon-with-sam-and-the-securestr
  - https://worklore.dev/s/2026-08-02-a-second-ai-opinion-inside-claude-code-gemini-over-curl-no-a
  - https://worklore.dev/s/2026-08-08-my-agent-cut-a-20-second-reel-from-a-day-of-phone-clips-two-
  - https://worklore.dev/s/2026-08-21-testing-my-api-s-authorization-with-a-qa-skill-two-accounts-
  - https://worklore.dev/s/2026-09-23-an-mcp-server-that-signs-users-in-oauth-2-1-on-aws-lambda-st
  - https://worklore.dev/s/2026-09-23-getting-into-the-mcp-registry-server-json-a-read-org-token-a
  - https://worklore.dev/s/2026-09-23-submitting-an-mcp-server-to-the-directories-one-cli-one-gith
  - https://worklore.dev/s/2026-10-02-my-live-mcp-test-asserted-the-bug-a-real-client-threw-where-
  - https://worklore.dev/s/2026-10-06-check-your-mcp-server-in-a-few-minutes-the-failures-real-cli
  - https://worklore.dev/s/2026-10-11-database-normalization-example-the-1nf-2nf-and-3nf-problems-
  - https://worklore.dev/s/2026-11-16-claude-code-saw-all-12-tools-codex-saw-none-an-mcp-server-th
  - https://worklore.dev/s/2026-08-01-two-bugs-made-my-scheduler-perfectly-silent-zsh-killed-the-m
servers:
- url: https://worklore.dev
paths:
  /:
    get:
      operationId: get
      tags:
      - Api
      summary: GET /
      x-source: https://worklore.dev/s/2026-11-16-claude-code-saw-all-12-tools-codex-saw-none-an-mcp-server-th
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl: \n It answers initialize and tools/list without any token: 12 tools, open to anyone. At the same time it publishes OAuth\
          \ protected-resource metadata that names https://accounts.google.com as its authorization server. Google's metadata has no registration_endpoint\
          \ . A client can't register itself there, so a client without a pre-made client ID can't log in. \n Claude Code connects without a tok"
  /api/oauth/token:
    post:
      operationId: post_api_oauth_token
      tags:
      - Api
      summary: Intervals.icu OAuth quirks — no refresh_token, "Duplicate scope", and why the init endpoint must be POST
      x-source: https://worklore.dev/s/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-
      parameters:
      - name: client_id
        in: query
        required: true
        schema:
          type: string
      - name: client_secret
        in: query
        required: true
        schema:
          type: string
      - name: code
        in: query
        required: true
        schema:
          type: string
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostApiOauthTokenResponse'
      x-evidence:
        kind: documentation
  /api/v1/athlete/{id}/events:
    post:
      operationId: post_api_v1_athlete_id_events
      tags:
      - Api
      summary: Create an event via POST /api/v1/athlete/{id}/events with workout_doc.steps
      x-source: https://worklore.dev/s/2026-05-12-exact-hr-corridors-on-garmin-from-intervals-icu-api-workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostApiV1AthleteIdEventsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /api/v1/athlete/{id}/wellness:
    get:
      operationId: get_api_v1_athlete_id_wellness
      tags:
      - Api
      summary: Intervals.icu OAuth quirks — no refresh_token, "Duplicate scope", and why the init endpoint must be POST
      x-source: https://worklore.dev/s/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /auth/init:
    post:
      operationId: post_auth_init
      tags:
      - Auth
      summary: Intervals.icu OAuth quirks — no refresh_token, "Duplicate scope", and why the init endpoint must be POST
      x-source: https://worklore.dev/s/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-
      responses:
        '201':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PostAuthInitResponse'
      x-evidence:
        kind: documentation
  /events:
    post:
      operationId: post_events
      tags:
      - Events
      summary: My AI agent generates structured triathlon workouts and pushes them to Intervals.icu via POST /events
      x-source: https://worklore.dev/s/2026-05-12-exact-hr-corridors-on-garmin-from-intervals-icu-api-workouts
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostEventsRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /events/{id}:
    get:
      operationId: get_events_id
      tags:
      - Events
      summary: Read the event back with GET /events/{id}
      x-source: https://worklore.dev/s/2026-05-12-exact-hr-corridors-on-garmin-from-intervals-icu-api-workouts
      parameters:
      - name: id
        in: path
        required: true
        schema:
          type: string
      responses:
        '200':
          description: Success (status as documented)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetEventsIdResponse'
      x-evidence:
        kind: documentation
  /mcp:
    post:
      operationId: post_mcp
      tags:
      - Mcp
      summary: POST /mcp
      x-source: https://worklore.dev/s/2026-09-25-an-mcp-server-for-the-price-of-one-more-endpoint
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostMcpRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: 'curl -s -X POST https://yourdomain/mcp -H ''Content-Type: application/json'' -d ''{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"curl","version":"1"}}}''
          returns a result whose protocolVersion is one you implement. If it echoes back whatever you sent — try "banana" — your negotiation is
          wrong. tools/list returns every tool'
  /oauth2/v3/userinfo:
    get:
      operationId: get_oauth2_v3_userinfo
      tags:
      - Oauth2
      summary: GET https://www.googleapis.com/oauth2/v3/userinfo with the access_token to read sub, email, name, picture.
      x-source: https://worklore.dev/s/2026-09-14-adding-google-sign-in-so-non-developers-can-use-your-app
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /register:
    post:
      operationId: post_register
      tags:
      - Register
      summary: 'An MCP server that signs users in: OAuth 2.1 on AWS Lambda, start to token'
      x-source: https://worklore.dev/s/2026-09-23-an-mcp-server-that-signs-users-in-oauth-2-1-on-aws-lambda-st
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
  /v0.1/servers/{name}:
    post:
      operationId: post_v0_1_servers_name
      tags:
      - V0
      summary: POST /v0.1/servers/{name}
      x-source: https://worklore.dev/s/2026-10-06-check-your-mcp-server-in-a-few-minutes-the-failures-real-cli
      parameters:
      - name: name
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV01ServersNameRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl or Python 3 (standard library only). Optional, each unlocks a check: a bearer token the server accepts, read access to\
          \ the server's source, its name in the official MCP Registry. \n Your agent will need from you: the URL; whether it may use a token\
          \ (and where it is — read it from an environment variable, never print it); which tools are safe to call if the server does not mark\
          \ them readOnlyHin"
  /v0/servers:
    get:
      operationId: get_v0_servers
      tags:
      - Servers
      summary: 'Getting into the MCP Registry: server.json, a read:org token, and why listed ≠ discoverable'
      x-source: https://worklore.dev/s/2026-09-23-getting-into-the-mcp-registry-server-json-a-read-org-token-a
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
    post:
      operationId: post_v0_servers
      tags:
      - Servers
      summary: POST /v0/servers
      x-source: https://worklore.dev/s/2026-09-23-getting-into-the-mcp-registry-server-json-a-read-org-token-a
      parameters:
      - name: search
        in: query
        required: false
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV0ServersRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s \"https://registry.modelcontextprotocol.io/v0/servers?search=<your-name>\" and expect your server with status active\
          \ . Check the browsable directories separately: mcp.so, Glama, Smithery, PulseMCP. Expect a lag of days or more; for the hand-reviewed\
          \ ones, submit manually. \n Verify: the registry API returns your server with status active and the correct remote URL, and you have\
          \ a written list"
  /v1/stories/{storieid}/signal:
    post:
      operationId: post_v1_stories_storieid_signal
      tags:
      - Stories
      summary: POST /v1/stories/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-/signal
      x-source: https://worklore.dev/s/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-
      parameters:
      - name: storieid
        in: path
        required: true
        schema:
          type: string
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PostV1StoriesStorieidSignalRequest'
      responses:
        '201':
          description: Success (status as documented)
      x-evidence:
        kind: code-example
        language: curl
        snippet: "curl -s -X POST https://worklore.dev/v1/stories/2026-04-15-intervals-icu-oauth-quirks-no-refresh-token-duplicate-scope-/signal\
          \ -H 'content-type: application/json' -d '{\"result\":\"worked\"}' . Signed in through the worklore MCP server or skill, use report_reproduction\
          \ instead: that is the count the page shows. \n RELATED STORIES \n Exact HR corridors on Garmin from Intervals.icu API workouts — start/en"
        collapsed_from: 17 example path(s) differing only at storieId
  /v1beta/models:
    get:
      operationId: get_v1beta_models
      tags:
      - V1Beta
      summary: A second AI opinion inside Claude Code — Gemini over curl, no arena apps
      x-source: https://worklore.dev/s/2026-08-02-a-second-ai-opinion-inside-claude-code-gemini-over-curl-no-a
      responses:
        '200':
          description: Success (status as documented)
      x-evidence:
        kind: documentation
components:
  schemas:
    PostApiOauthTokenResponse:
      type: object
      properties:
        access_token:
          type: string
        scope:
          type: string
        athlete.id:
          type: integer
    PostApiV1AthleteIdEventsRequest:
      type: object
      properties:
        workout_doc.steps:
          type: string
          description: 'Array of HR step targets, each with {"units": "%lthr", "start": <low>, "end": <high>}.'
      required:
      - workout_doc.steps
    PostAuthInitResponse:
      type: object
      properties:
        authorize_url:
          type: string
    PostEventsRequest:
      type: object
      properties:
        workout_doc:
          type: string
          description: The workout document containing steps and HR targets.
      required:
      - workout_doc
    GetEventsIdResponse:
      type: object
      properties:
        workout_doc.steps:
          type: string
          description: Array of steps; non‑empty means the parser accepted the description.
    PostMcpRequest:
      type: object
      properties:
        jsonrpc:
          type: string
        id:
          type: integer
        method:
          type: string
        params:
          type: object
          properties:
            protocolVersion:
              type: string
              format: date
            capabilities:
              type: object
            clientInfo:
              type: object
              properties:
                name:
                  type: string
                version:
                  type: string
    PostV01ServersNameRequest:
      type: object
      properties:
        result:
          type: string
    PostV0ServersRequest:
      type: object
      properties:
        result:
          type: string
    PostV1StoriesStorieidSignalRequest:
      type: object
      properties:
        result:
          type: string
tags:
- name: Api
- name: Auth
- name: Events
- name: Mcp
- name: Oauth2
- name: Register
- name: Servers
- name: Stories
- name: V0
- name: V1Beta