---
title: "Update glossary"
method: PATCH
path: "/v2/glossaries/{glossary_key}"
tags: ["Glossaries"]
---

# Update glossary

`PATCH /v2/glossaries/{glossary_key}`

Updates the metadata of a glossary.

## Path parameters

- `glossary_key` string, required — A user-provided key that uniquely identifies a glossary.

## Headers

- `Request-Timeout` integer
- `Request-Timeout-Millis` integer

## Request body

- UpdateGlossaryRequest — Request to update glossary metadata.
  - `name` string — Updated name for the glossary.
  - `description` string — Updated description.

## Response `200`

The updated glossary.

- Glossary — A reusable mapping of terms to their expanded forms. When abbreviations, acronyms, or domain-specific shorthand in a user input event match glossary terms, the platform appends the matched terms and their expansions to the event as a hint. The agent decides how to use them.
  - `key` string, required — A user-provided key that uniquely identifies a glossary.
  - `name` string, required — Human-readable name for the glossary.
  - `description` string — A description of what this glossary covers.
  - `num_entries` integer — The number of entries currently in the glossary.
  - `created_at` string, date-time — Timestamp when the glossary was created.
  - `updated_at` string, date-time — Timestamp when the glossary was last updated.

## Other responses

- `400` — The request was malformed.
- `403` — Permissions do not allow updating this glossary.
- `404` — Glossary not found.

---

[API](https://skmtc.net/vectara/apis/vectara-rest-api-v2.md) · [All operations](https://skmtc.net/vectara/apis/vectara-rest-api-v2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/vectara/vectara-rest-api-v2/versions/e85040b266cc/schema)
