About this endpoint
What it does
Detects misspelled words in the provided text and returns suggested corrections. You send the text as a query parameter and receive a JSON object describing the input, the misspelled words, and a corrections map.
Query Parameter(s)
| Attribute | Type | Mandatory | Description |
|---|---|---|---|
| text | String | Yes | The text to check for spelling mistakes. |
Response
Returns a JSON object with three top-level fields: input as a string, misspelled as a string array, and corrections as an object whose values are strings. The schema does not define a fixed success status code, so the response shape itself is the source of truth.
| Parameter | Type | Mandatory | Description |
|---|---|---|---|
| input | String | No | The input text that was checked. |
| misspelled | String Array | No | A list of misspelled words found in the input text. |
| corrections | Object | No | A map of corrections for misspelled words; each property value is a string. |