Skip to main content
PUT
/
v1
/
glossary
/
{term_id}
const updated = await client.glossary.update("term_abc123", {
  type: "specific_translation",
  translations: {
    de: "Datenextraktion",
    fr: "extraction de données",
  },
});
{
  "id": "term_abc123",
  "term": "data extraction",
  "type": "specific_translation",
  "case_sensitive": false,
  "category": "custom",
  "translations": {
    "de": "Datenextraktion",
    "fr": "extraction de données"
  },
  "created_at": "2025-03-01T10:00:00.000Z"
}

Path parameters

term_id
string
required
The unique identifier of the glossary term.

Request body

All fields are optional. Only provided fields are updated.
term
string
Updated original term.
type
string
Updated type: do_not_translate, specific_translation, or context_dependent.
case_sensitive
boolean
Updated case sensitivity.
category
string
Updated category.
translations
object
Updated translation map. Replaces all existing translations.

Response

Returns the full updated glossary term object (same shape as the object in List glossary terms).
const updated = await client.glossary.update("term_abc123", {
  type: "specific_translation",
  translations: {
    de: "Datenextraktion",
    fr: "extraction de données",
  },
});
{
  "id": "term_abc123",
  "term": "data extraction",
  "type": "specific_translation",
  "case_sensitive": false,
  "category": "custom",
  "translations": {
    "de": "Datenextraktion",
    "fr": "extraction de données"
  },
  "created_at": "2025-03-01T10:00:00.000Z"
}
Updating translations replaces all existing translations. Include all language pairs you want to keep.