Skip to main content
Required ACL: settings

Examples

Parameters

string
required
The search query to find synonyms. Use an empty query to browse all the synonyms of an index.
string
default:20
The number of synonyms to return for each call.
integer
default:0
The page to fetch when browsing through several pages of results. This value is zero-based.
string | string[]
Restrict the search to a specific type of synonym. Use an empty string to search all types (default behavior). Multiple types can be specified using a comma-separated list or an array. The allowed types are:
  • synonym
  • oneWaySynonym
  • altCorrection1 or altCorrection2
  • placeholder

Response

list
A list of matching synonyms. Each hit contains the synonym object and a _highlightResult attribute with the highlighted synonym.
integer
Number of hits.

Response as JSON

This section shows the JSON response returned by the API. Each API client wraps this response in language-specific objects, so the structure may vary. To view the response, use the getLogs method. Don’t rely on the order of properties—JSON objects don’t preserve key order.
JSON
Last modified on March 23, 2026