get
https://{yourinstance}.makaira.io/antonym
List all antonyms
Returns a list of all antonym groups configured for the current instance. Antonyms suppress specific terms from appearing in search results when a related term is searched.
Requires authentication.
Request
GET /antonym
Headers
| Header | Value |
|---|---|
Authorization | Bearer <token> |
Response
Returns a JSON array of antonym objects.
Response Body
| Field | Type | Description |
|---|---|---|
id | integer | Unique identifier. |
name | string | Display name. |
language | string | Language code this antonym group applies to (e.g. de, en). |
antonyms | string | Comma-separated list of antonym terms. |
Example Response
[
{
"id": 1,
"name": "Color antonyms",
"language": "de",
"antonyms": "rot, blau, grün"
}
] 200OK

