Check text
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.
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.
application/json- body
text*stringThe text to check. Up to 100,000 characters.
1 <= length <= 100000format?stringmarkdown skips code and reads headings, lists, and tables. text treats everything as prose.
"markdown""markdown""text"min_level?MinLevelThe lowest level to report.
"suggestion""suggestion""warning""error"groups?array<>Run only the checks in these groups. Leave it out to run every group.
1 <= itemsmode?stringprecise leaves out matches that are almost always false alarms, such as a banned word inside a quotation or a product name. vale reports exactly what the Watership Vale package reports.
"precise""precise""vale"The check ran. The findings may be empty.
application/json- response
release*stringThe release of the checks that ran, which is the version of the Watership Vale package they come from. It matches the Watership-Release header.
engine_version*stringThe version of the check engine that ran.
counts*How many findings there are at each level, counted before truncation.
findings*array<>The findings, sorted by position in the text. At most 500.
items <= 500truncated*booleantrue when there were more than 500 findings and only the first 500 are listed.
curl -X POST 'http://127.0.0.1:4010/v1/checks' \ -H 'Content-Type: application/json' \ -d '{ "text": "# Getting Started With Exports\n\nIt'\''s important to note that you can easily utilize the export tool. It allows you to download a seamless copy of your data. Please click Export to begin.\n\nExports finish within a day; it is rare for one to fail. The next maintenance window is 11/04/2026.\n", "format": "markdown", "min_level": "suggestion"}'{ "release": "0.3.3", "engine_version": "1.0.0", "counts": { "error": 1, "warning": 8, "suggestion": 2 }, "truncated": false, "findings": [ { "check": "HeadingCase", "style": "Watership", "rule_ids": [ "cap-sentence-case-headings" ], "tier": "avoid", "level": "warning", "group": "caps", "message": "Use sentence case for headings: “Getting Started With” looks like title case.", "match": "Getting Started With", "span": { "index": 2, "length": 20, "line": 1, "column": 3 }, "link": "https://watership.ca/style-guide/capitalization/#cap-sentence-case-headings" }, { "check": "ImportanceFlags", "style": "Watership", "rule_ids": [ "floor-importance-flagging" ], "tier": "avoid", "level": "warning", "group": "slop", "message": "Cut “It's important to note”; if it matters, say it.", "match": "It's important to note", "span": { "index": 32, "length": 22, "line": 3, "column": 1 }, "link": "https://watership.ca/slop-guard/#floor-importance-flagging" }, { "check": "Minimizers", "style": "Watership", "rule_ids": [ "incl-no-simply" ], "tier": "avoid", "level": "warning", "group": "inclusive", "message": "Delete “easily”; the instruction reads the same without it.", "match": "easily", "span": { "index": 68, "length": 6, "line": 3, "column": 37 }, "link": "https://watership.ca/style-guide/inclusive-and-accessible-language/#incl-no-simply" }, { "check": "Use", "style": "Watership", "rule_ids": [ "term-use", "floor-banned-words" ], "tier": "avoid", "level": "warning", "group": "terms", "message": "Use “use” instead of “utilize”.", "match": "utilize", "span": { "index": 75, "length": 7, "line": 3, "column": 44 }, "replacement": "use", "link": "https://watership.ca/style-guide/terminology/#term-use" }, { "check": "LetsYou", "style": "Watership", "rule_ids": [ "term-lets-you" ], "tier": "avoid", "level": "warning", "group": "terms", "message": "Use “lets you” instead of “allows you to”.", "match": "allows you to", "span": { "index": 103, "length": 13, "line": 3, "column": 72 }, "replacement": "lets you", "link": "https://watership.ca/style-guide/terminology/#term-lets-you" }, { "check": "BannedWords", "style": "Watership", "rule_ids": [ "floor-banned-words" ], "tier": "avoid", "level": "warning", "group": "slop", "message": "“seamless” is on the slop guard’s banned list.", "match": "seamless", "span": { "index": 128, "length": 8, "line": 3, "column": 97 }, "link": "https://watership.ca/slop-guard/#floor-banned-words" }, { "check": "Please", "style": "Watership", "rule_ids": [ "term-please" ], "tier": "avoid", "level": "warning", "group": "terms", "message": "Don’t write “please” in documentation or interface text.", "match": "Please", "span": { "index": 156, "length": 6, "line": 3, "column": 125 }, "link": "https://watership.ca/style-guide/terminology/#term-please" }, { "check": "SelectVerb", "style": "Watership", "rule_ids": [ "ui-select-verb" ], "tier": "avoid", "level": "warning", "group": "interface", "message": "Use “select” instead of “click”.", "match": "click", "span": { "index": 163, "length": 5, "line": 3, "column": 132 }, "replacement": "select", "link": "https://watership.ca/style-guide/ui-elements/#ui-select-verb" }, { "check": "Semicolon", "style": "Watership", "rule_ids": [ "punct-semicolon" ], "tier": "prefer", "level": "suggestion", "group": "punctuation", "message": "Prefer a period to a semicolon.", "match": ";", "span": { "index": 214, "length": 1, "line": 5, "column": 28 }, "link": "https://watership.ca/style-guide/punctuation/#punct-semicolon" }, { "check": "PronounContractions", "style": "Watership", "rule_ids": [ "voice-contractions" ], "tier": "prefer", "level": "suggestion", "group": "voice", "message": "Write “it is rare” with a contraction: “it’s”, “you’re”, or “you’ll”.", "match": "it is rare", "span": { "index": 216, "length": 10, "line": 5, "column": 30 }, "link": "https://watership.ca/style-guide/voice-and-person/#voice-contractions" }, { "check": "SlashDates", "style": "Watership", "rule_ids": [ "num-no-slash-dates" ], "tier": "never", "level": "error", "group": "numbers", "message": "Write the date “11/04/2026” with the month in full, such as September 15, 2026, or in the ISO form, such as 2026-09-15, where a machine reads it.", "match": "11/04/2026", "span": { "index": 275, "length": 10, "line": 5, "column": 89 }, "link": "https://watership.ca/style-guide/numbers-dates-and-units/#num-no-slash-dates" } ]}
