# Check text

Source: https://watership.ca/api-docs/docs/reference/api/checks/check-text

## POST /v1/checks

**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`.

### Request body (application/json)

| Field | Type | Required | Description |
|---|---|---|---|
| `text` | string | yes | The text to check. Up to 100,000 characters. |
| `format` | one of `markdown`, `text` | no | `markdown` skips code and reads headings, lists, and tables. `text` treats everything as prose. |
| `min_level` | one of `suggestion`, `warning`, `error` | no | The lowest level to report. |
| `groups` | array of one of `voice`, `spelling`, `caps`, `punctuation`, `numbers`, `interface`, `links`, `inclusive`, `terms`, `structure`, `slop`, `company` | no | Run only the checks in these groups. Leave it out to run every group. |
| `mode` | one of `precise`, `vale` | no | `precise` 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. |

```json
{
  "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"
}
```

### Responses

- `200`: The check ran. The findings may be empty.
- `400`: The request is malformed or a field fails validation. The `type` tells you which.
- `401`: The `Authorization` header is missing, or the key isn’t valid.
- `413`: The request body is over 1 MiB (1,048,576 bytes).
- `415`: The request body isn’t JSON.
- `429`: This API key has sent more than 120 requests in the current minute.
- `500`: Something failed on the server. Retry with backoff.
- `503`: The check took longer than 5 seconds and was stopped. Retrying the same text won’t help.

Example `200` response:

```json
{
  "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"
    }
  ]
}
```