Overview
The Watership Check API checks prose against the Watership style guide, UX writing guide, and slop guard, and responds with each finding and the id of the rule it breaks.
Design preview
The Watership Check API is a design, not a running service. There’s no hosted endpoint and no way to get a key. Everything in these docs runs against a local mock server built from the OpenAPI spec, so you can try every request today. The design preview page says what exists and what doesn’t.
What the API does
You send text. The API runs the Watership automated checks on it and responds with a list of findings. Each finding says where the problem is, what to change, and which rule it breaks, by a stable rule id such as term-please or num-no-slash-dates.
The API also serves the material the checks come from:
- Rules: all 577 rules in the three Watership guides: the style guide, the UX writing guide, and the slop guard. Each has a tier and a check type.
- Terms: the terminology list from the glossary, with the word to use and the words it replaces.
- Voices: the six stock voices and where each sits on the tone scales.
The checks are the mechanical checks in the Watership Vale package. They cover 76 rules. The rest need a pattern nobody has written yet, or a reader, and the API says so instead of guessing.
How these docs are organized
Every page is one type of page, and the sidebar groups them by type. The types come from the Watership DITA content model, which is based on DITA.
| Type | What it gives you | Start with |
|---|---|---|
| Tutorials | A guided lesson with a visible result at every step | Check your first draft |
| Tasks | Steps for one goal you already have | Check a pull request in CI |
| Concepts | How something works, and why | Why findings carry rule ids |
| Reference | Exact facts: endpoints, fields, errors, and limits | The finding object |
| Interface guides | One screen, element by element | Playground |
A page sticks to its type. The tutorial doesn’t stop to list every field, a task doesn’t explain the design, and the reference doesn’t teach. When a page needs something from another type, it links to it.
DITA, an open standard from the Organization for the Advancement of Structured Information Standards (OASIS), has three core topic types: concept, task, and reference. Watership adds the tutorial, which DITA lacks, and the interface guide, a reference page for a single screen. The DITA content model describes each type. A comparable system is Diátaxis by Daniele Procida, which reaches a similar split and counts the tutorial among its four types.
Base URL and authentication
Every request goes to the mock server at http://127.0.0.1:4010 and carries an API key as a bearer token:
curl http://127.0.0.1:4010/v1/voices \
-H "Authorization: Bearer wsk_test_example"The mock accepts any key. Conventions covers keys, versioning, pagination, and headers.
For AI agents
These docs are written to be read by tools as well as people:
/llms.txtlists every page with a one-line summary./llms-full.txthas the full text of every page in one file.- Every page has a Markdown copy. Use Copy Markdown at the top of a page, or open
/llms.mdx/followed by the page path andcontent.md, such as/llms.mdx/docs/tutorials/check-your-first-draft/content.md. /openapi.yamlis the spec the reference is built from.

