Get a rule
Responds with one rule in full: its tier, its check type, the guidance in Markdown, and its examples. Every finding from POST /v1/checks carries rule ids you can pass here.
apiKeyAuthorizationBearer <API key>Send your API key as a bearer token: Authorization: Bearer <key>. Test keys start with wsk_test_. The mock server accepts any key, but it rejects a request with no Authorization header.
rule_id*stringA rule id, such as one from a finding’s rule_ids.
^[a-z0-9-]+$length <= 200The rule.
application/json- response
id*RuleIdA stable rule id. The prefix names the section, such as punct- for punctuation or floor- for the slop guard.
^[a-z0-9-]+$length <= 200name*stringThe rule’s name in the guide.
guide*GuideThe guide a rule belongs to.
"style-guide""ux-writing""slop-guard"section*stringThe id of the guide section the rule is in.
tier*TierHow strongly a rule applies. never blocks publication. avoid means edit on one sighting, or keep it with a stated reason. prefer is a suggestion.
"never""avoid""prefer"check*CheckTypemechanical if a pattern can catch it, judgment if a reader has to decide.
"mechanical""judgment"automated*booleantrue if POST /v1/checks can report this rule.
link*stringThe rule’s page in the published guide.
uribody*stringThe rule’s guidance, in Markdown.
examples*array<>Pairs of text to avoid and text to write instead.
curl -X GET 'http://127.0.0.1:4010/v1/rules/term-please'{ "id": "term-please", "name": "Please in instructions", "guide": "style-guide", "section": "terminology", "tier": "avoid", "check": "mechanical", "automated": true, "link": "https://watership.ca/style-guide/terminology/#term-please", "body": "**Don’t write “please” in documentation or interface text.** An instruction is not a favor, and the word slows every step. The one exception is a request the reader makes for the company’s benefit rather than their own, such as reporting a bug or filling in a survey.", "examples": [ { "instead": "Please select Save to keep your changes.", "write": "Select Save to keep your changes." } ]}Check text POST
Runs the Watership automated checks on one piece of text and responds with every finding, sorted by position. Each finding names the rule ids it enforces, so you can look up the rule, show its guidance, or decide what to block. The checks cover mechanical rules only: word lists, characters, capitalization, and number formats. Judgment rules need a reader. A check is stateless: the text isn’t stored, and the same text against the same release always gets the same findings. Text can be up to 100,000 characters. One response holds at most 500 findings. When there are more, `truncated` is `true`.
List rules GET
Lists the rules in the style guide, the UX writing guide, and the slop guard, in guide order. Filter by guide, tier, check type, or whether the automated checks cover the rule. Use `q` to search ids, names, and rule text.

