# CastHQ

> When things happen, how sure each date is, and every time it moved. Every date has a stated precision and an evidence trail.

## How to read

- Any event as Markdown: https://pr-2017.preview.casthq.co/{topic}/{event}.md (the page URL plus `.md`)
- Topic pages: https://pr-2017.preview.casthq.co/{topic}.md · per-topic index: https://pr-2017.preview.casthq.co/{topic}/llms.txt
- MCP, read-only, no sign-in: https://pr-2017-api.preview.casthq.co/mcp/public · read and write, signed in: https://pr-2017-api.preview.casthq.co/mcp. OAuth on https://pr-2017-api.preview.casthq.co/mcp needs DPoP-bound tokens (RFC 9449): only a client that sends DPoP proofs can sign in with OAuth there. Any other client, Claude Code included, connects with a personal access token (`Authorization: Bearer chq_pat_…`) or through the CastHQ CLI, which holds the key and signs for it: `casthq login --mcp`, then `claude mcp add --transport stdio casthq --env CASTHQ_API=https://pr-2017-api.preview.casthq.co -- casthq mcp` (and `claude mcp add --transport http casthq-public https://pr-2017-api.preview.casthq.co/mcp/public` for the public reads).
- Change feed (JSON, cursor-paged; filter by `topic`, `event`, `kind`, `origin`): https://pr-2017.preview.casthq.co/api/v1/changes · OpenAPI: https://pr-2017.preview.casthq.co/api/v1/openapi.json
- Is a date real? Status and provenance (JSON: precision, producer-confirmed or observed or community-reported, sources, last change, contested claims): https://pr-2017.preview.casthq.co/api/v1/events/{topic}/{event}/status · MCP tool `event_status`
- Where to watch, buy, attend or join (JSON: each entry's kind, state, who stated it, the provider's own link, price and region as stated, an offer's agent terms): https://pr-2017.preview.casthq.co/api/v1/events/{topic}/{event}/availability?region={ISO 3166-1} · MCP tools `where_to_watch`, `availability`
- Plan across events (JSON): what is on in a window, near a place or in topics: https://pr-2017.preview.casthq.co/api/v1/events/between?from=YYYY-MM-DD&to=YYYY-MM-DD&tz={IANA zone} · which events clash: `POST https://pr-2017.preview.casthq.co/api/v1/clashes` · parts, series and other listings of one event: https://pr-2017.preview.casthq.co/api/v1/events/{topic}/{event}/related · MCP tools `events_between`, `find_clashes`, `related_events`
- Wait for a change (subscriptions with conditions, cursor pull, signed in): MCP `wait_for`, `subscribe`, `get_events` on https://pr-2017-api.preview.casthq.co/mcp · REST https://pr-2017-api.preview.casthq.co/v1/subscriptions · conditions: https://pr-2017.preview.casthq.co/spec/conditions.md
- Ids are TypeIDs (`event_01jd…`, `topic_…`, `org_…`): copy them whole; another type's id is refused (`invalid_id`), and an older raw uuid still works. Prefixes: https://docs.casthq.co/concepts/ids
- Per-event iCal: https://pr-2017.preview.casthq.co/api/v1/events/{id}/calendar.ics
- One calendar across topics (topic, kind, facet, owner, as /v1/events takes them): https://pr-2017.preview.casthq.co/api/v1/calendar.ics?topic={a},{b}&kind={kind} · the same news as RSS: https://pr-2017.preview.casthq.co/api/v1/feed.rss?topic={a},{b}&kind={kind}
- Skill for agents: https://pr-2017.preview.casthq.co/skill.md · everything in one file (this index, the skill, every MCP tool with an example call): https://pr-2017.preview.casthq.co/llms-full.txt
- Discovery without docs: https://pr-2017-api.preview.casthq.co/ lists every entry point (JSON) · MCP server cards: https://pr-2017-api.preview.casthq.co/.well-known/mcp/server-card.json (all three: https://pr-2017-api.preview.casthq.co/.well-known/mcp/server-cards.json)
- Shared watch lists (sets of events and topics members and their agents made for reuse): `find_watch_lists`, `get_watch_list` on https://pr-2017-api.preview.casthq.co/mcp/public · adopt one for your user (follows its items, as them): `adoptWatchList` on https://pr-2017-api.preview.casthq.co/mcp · make one: `createWatchList` (private until you share it)
- Sandbox: a test-mode token (`chq_pat_test_…`) acts in a seeded sandbox with a test clock, never on live data · fair use and limits: https://docs.casthq.co/agents/fair-use

## Categories and facets

Every event has exactly one category, its `kind`, from one tree. The roots say what you do about it: `gathering` (attend), `broadcast` (watch or listen at a time), `competition` (follow a contest with an outcome), `session` (a timed slot within a parent), `release` (obtain or use something new), `window` (act while it is open), `deadline` (act before), `announcement` (learn the outcome at a time), `disruption` (plan around it), `advisory` (take precautions), `observance` (the day or period has a status), `milestone` (note the change of state), `series` (a container of editions or occurrences), `onchain`, `in-world`. Under them are the registry's categories (`release` › `video-game-release`, `dlc`; `advisory` › `weather-warning`) and owners' own. Facet axes say the rest: `region` (ISO 3166, `gb-eng`, `europe`), `severity` (ordered, minor to extreme), `hazard`, `platform`, `product-category`, `format`, `stage`, `distance`, `fiscal-quarter`, and on topics `domain` and `topic-type`. A filter on a value matches everything under it.

- The vocabulary (JSON: every category and facet value with its `count` of listed events, aliases, labels, and the rulings): https://pr-2017.preview.casthq.co/api/v1/vocabulary · `?axis=kind` or `?axis=region` for one · `?owner={org id or address key}` merges that publisher's public values · schema https://pr-2017.preview.casthq.co/spec/v1/vocabulary.json
- It is versioned: send the last `ETag` as `If-None-Match` (304 when unchanged) and cache it. An unknown category or facet value anywhere is a 400 `invalid_request` with `suggestions` (`{slug, label, why}`, `why` one of `alias`, `similar`, `replaced_by`, `ruling`), `vocabulary_version` and `vocabulary_url`: when that version is newer than yours, refresh.
- Filter: `https://pr-2017.preview.casthq.co/api/v1/events?kind=release&facet=platform:ps5&facet=region:europe` (also `owner`, `topic`, `within`, `order=recent`, `counts=1`; topic feeds take `kind` and `facet` too) · MCP `find_events(kind, facet, owner, order)`, `next_event` and `latest_event` ("the next Steam sale": topic `steam`, kind `sale`) · `list_vocabulary` and `find_kind` give the slugs
- Rulings: some phrases are not categories. `esports-tournament` is `tournament` under a topic with domain `esports`; `european-rocket-launch` is `rocket-launch` with region `europe`. The 400 says which, with the facets to add.

## Developer clock

Every model retirement, API sunset and runtime end of life CastHQ tracks (OpenAI, Anthropic, Gemini, Vertex AI, Bedrock, Azure OpenAI, Mistral and 25 more vendors, 50 runtimes from endoflife.date), each date with the vendor's certainty (`confirmed`, or `expected` when the vendor hedges) and its source page.

- Page: https://pr-2017.preview.casthq.co/developer-clock (`?vendor={slug}` or `runtimes`, `?kind=shutdown`, `deprecation`, `end-of-life`, `launch`, `price-change`, `limit-change`, `keynote`) · JSON, same filters plus `when=past`, `limit`, `after`: https://pr-2017.preview.casthq.co/api/v1/developer-clock
- When is a model retired? MCP `when_is_retirement(model)` on https://pr-2017-api.preview.casthq.co/mcp/public: pass the id as written in code (`gpt-4o-2024-08-06`, Bedrock `anthropic.claude-3-5-sonnet-20241022-v2:0`, Azure `gpt-4o@2024-08-06`, `node 18`); its dates with status and source, and the topic ids to follow · many ids at once: `resolve_id` or `POST https://pr-2017.preview.casthq.co/api/v1/resolve`
- Feeds: the whole clock https://pr-2017.preview.casthq.co/api/v1/developer-clock/calendar.ics (RSS: https://pr-2017.preview.casthq.co/api/v1/developer-clock/feed.rss; both take `vendor` and `kind`) · one vendor or product: https://pr-2017.preview.casthq.co/api/v1/calendar.ics?topic={vendor slug or topic id} (RSS: https://pr-2017.preview.casthq.co/api/v1/feed.rss?topic=…)
- The hand-read ledger behind it, with each date's page, words and read day: https://pr-2017.preview.casthq.co/api/v1/developer-clock/ledger

## Publish your own events (OEI)

Agents publish their own events as signed OEI documents, with nothing but an Ed25519 key: no account, no sign-in. CastHQ never holds your private key.

- Guide, written for agents: https://docs.casthq.co/oei/publish (Markdown: https://docs.casthq.co/oei/publish.md)
- MCP, no sign-in: https://pr-2017-api.preview.casthq.co/mcp/oei: `oei_prepare_owner` → sign → `oei_create_owner`; `oei_prepare_revision` → sign → `oei_publish`; `oei_get_event`, `oei_follow_changes`
- TypeScript SDK `@casthq/oei` (canonical JSON, signing, chains, classify, local validation): https://docs.casthq.co/sdks/oei
- HTTP: `PUT https://pr-2017-api.preview.casthq.co/oei/v1/owners/{owner}/0`, `PUT https://pr-2017-api.preview.casthq.co/oei/v1/events/{id}/{revision}`, `GET https://pr-2017-api.preview.casthq.co/oei/v1/log` · spec: https://docs.casthq.co/oei/spec

## For developers

- Quickstarts (curl, TypeScript, Python, MCP), each tested end to end against a live API: https://pr-2017.preview.casthq.co/docs/api
- Interactive API reference: https://pr-2017.preview.casthq.co/docs/api/reference · OpenAPI: https://pr-2017.preview.casthq.co/api/v1/openapi.json
- The open spec (CC BY 4.0): https://pr-2017.preview.casthq.co/spec/index.md
  - Change envelope and URNs: https://pr-2017.preview.casthq.co/spec/envelope.md
  - Condition language: https://pr-2017.preview.casthq.co/spec/conditions.md
  - Confidence levels and reasons: https://pr-2017.preview.casthq.co/spec/confidence.md
  - Reconciliation rules (claims, winners, disputes): https://pr-2017.preview.casthq.co/spec/reconciliation.md
  - JSON Schemas: https://pr-2017.preview.casthq.co/spec/v1/change-envelope.json, https://pr-2017.preview.casthq.co/spec/v1/condition.json, https://pr-2017.preview.casthq.co/spec/v1/urn.json

## Rules for citing dates

- Never state a date more precise than its `precision`. A `month` date has no known day; a `quarter` date has no known month. Say "expected June 2026", not "June 1, 2026".
- A clock time names its zone ("10:00 AM PDT (America/Los_Angeles)", "5:00 PM UTC") or says "local time" (a floating time). Repeat it with its zone, never without.
- Say how settled it is: a fuzzy date can still move, and `revisions` counts how often it already has.
- Cite the event's URL, and the `as_of` time when the answer depends on the date being current.
- If CastHQ has no date, say so. Do not fill the gap from memory or other sites.
- "Other reports" are lower-standing claims, never the current date.
- Before repeating a date, `event_status` says whether the producer confirmed it or it was only observed or community-reported. Say which.
- When planning, an event whose `fit` is `overlaps` may fall in the window, not certainly; a `possible` clash is not a `definite` one. Say so.

## Content use

Search engines and AI answers that cite CastHQ (with a link to the event) are welcome. Training, fine-tuning or evaluating models on CastHQ content for distribution or sale is not permitted without a written agreement.

Display licence: you may display, quote and cache CastHQ event data in your own products and pages, commercial use included, with attribution and a link to the event. Not as a bulk dataset or feed, and not to build a substitute dataset or service. Third-party data keeps its own licence (endoflife.date data stays CC BY-SA 4.0). https://pr-2017.preview.casthq.co/legal/data-licence
