Back to LanguageTool Homepage - Privacy - Imprint

API correct enabling/disabling categories

Hello,
I wanted LT to check spelling only, but when sending requests it seems to not work for me. Here is a part of the JSON request where I put ‘enabledCategories’:‘TYPOS’ with enabledOnly option

data = {
    'text': sent,
    'language': 'en-US',
    'enabledCategories':'TYPOS',
    'enabledOnly': 'true',
}

But this still returns all categories.
I have two questions:

  1. What is the correct JSON submission to check only TYPOS?
  2. where can i find the list of allowed values for enabledRules and enabledCategories?

Many thanks

These parameters are query parameters, not keys in the data input. The documentation can be found at
https://languagetool.org/http-api/swagger-ui/#!/default/post_check