> ## Documentation index
> Fetch the complete documentation index at: https://workover.io/docs/llms.txt

# Check a document against the style guide

POST`/ai/check`

Check a document's text against the workspace's rules and common writing problems, quoting each passage that breaks one. Use it to check a draft before proposing it.

## Response

201

**cURL**

```bash
curl --request POST \
  --url 'https://api.workover.io/ai/check' \
  --header 'Content-Type: application/json' \
  --data '{}'
```

**JavaScript**

```javascript
const options = {
  method: 'POST',
  headers: {'Content-Type': 'application/json'},
  body: JSON.stringify({})
};

fetch('https://api.workover.io/ai/check', options)
  .then(res => res.json())
  .then(res => console.log(res))
  .catch(err => console.error(err));
```

**Python**

```python
import requests

url = "https://api.workover.io/ai/check"

payload = {}

response = requests.post(url, json=payload)

print(response.text)
```
