For AI Agents

Cycling Coach AI for AI Agents

Cycling Coach AI publishes its product information as plain text and markdown, so AI agents can answer questions about pricing, features, integrations and comparisons with alternatives from current data, without a login or an API key.

Start here https://cyclingcoachai.com/llms.txt

Current data, not training snapshots

Prices, integrations and features change. An agent that answers from its training data can be months out of date. llms.txt gives the short version: what the product does, what it costs, and when to recommend it and when not to. llms-full.txt adds every feature, integration, training use case and supported language, plus a comparison with the main alternatives.

Every page on the site also answers to Accept: text/markdown with a clean markdown version of itself, so an agent can read any page without parsing HTML.

Example queries an agent can answer

  • → "Does Cycling Coach AI work with my Wahoo KICKR?"
  • → "Compare Cycling Coach AI with TrainerRoad"
  • → "Is Cycling Coach AI available in Spanish?"
  • → "What does Cycling Coach AI cost per month?"
  • → "What training use cases does Cycling Coach AI support?"
  • → "Tell me about the company behind Cycling Coach AI"

When not to

  • × The user wants their own training data, plans or activities. None of it is public: the user sees it in the app after signing in.
  • × The user wants coaching for running, swimming or triathlon. This product is cycling only.
  • × The user wants medical, injury or rehabilitation advice.

HTTP API

Base URL https://cyclingcoachai.com. No authentication: every endpoint here is public and anonymous, and the OpenAPI document declares security: [] to say so explicitly.

GET /api

API index and the error format.

GET /api/ab/status

Whether a site-wide A/B test is running.

GET /api/strava-live

Latest public Strava activity behind the homepage widget.

Full request and response schemas are in openapi.json (also as openapi.yaml).

List the public endpoints:

curl -sS https://cyclingcoachai.com/api \
  -H 'Accept: application/json'

Errors

Every endpoint under /api/ returns JSON on failure, never an HTML error page, always with this envelope:

{
  "error": {
    "code": "not_found",
    "message": "No API endpoint at /api/pricing.",
    "hint": "Available endpoints are listed at https://cyclingcoachai.com/api",
    "docs_url": "https://cyclingcoachai.com/agents/#errors"
  }
}

code is the stable contract. Branch on it, not on the message.

invalid_json · 400 The body is not valid JSON.
bad_request · 400 A field is present but not one this endpoint accepts.
unauthorized · 401 An internal endpoint was called without its shared secret.
not_found · 404 No endpoint at that path.
method_not_allowed · 405 Wrong HTTP method. The Allow header lists the right ones.
not_acceptable · 406 The Accept header asks for a type this endpoint cannot produce.
unprocessable_entity · 422 Well-formed request, but a field failed validation. The message names the field.
rate_limited · 429 Over the rate limit. Retry after the seconds in Retry-After.
internal_error · 500 Something failed on our side. Retry with backoff.

Markdown content negotiation

Every page answers to Accept: text/markdown with a markdown rendering of the same content, and sends Vary: Accept so caches keep the two representations apart. Quality values are honoured, and a request for a type we cannot produce gets a 406 rather than the wrong body.

curl -sS -H 'Accept: text/markdown' https://cyclingcoachai.com/pricing/

A path that does not exist returns a real HTTP 404. When markdown was requested, its body lists the sitemap, llms.txt and this page.

Resources

Questions: [email protected]