Skip to main content

Overview

Synonyms allow you to expand search queries so that related terms find the same products. When a user searches for “tenis”, the search engine can also match “sneaker” and “calcado esportivo” without requiring those exact words in the product catalog. Synonyms are applied automatically during query understanding, before embedding generation. They are cached per workspace with a 5-minute TTL for performance.

Synonym Types

Authentication

All requests require an API key via the x-api-key header. The workspace is resolved from the key.

List Synonyms

Response

Create Synonym

Request Fields

Response201 Created

Update Synonym

Response200 OK with updated synonym record. Returns 404 if the synonym ID does not belong to the workspace (workspace isolation enforced).

Delete Synonym

Response204 No Content on success. 404 if not found.

Workspace Isolation

All synonym operations are scoped to the workspace resolved from the API key. It is not possible to read, update, or delete synonyms belonging to another workspace.
Última modificação em 12 de março de 2026