> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Glossary Terms

> Create and manage glossary terms within glossaries

# Glossary Terms

A **Glossary Term** is a specific business term defined within a glossary. Terms can be hierarchically nested and support synonyms, related terms, and rich metadata.

> [!NOTE]
>
> Entity schema follows the [OpenMetadata Standard](https://openmetadatastandards.org/governance/glossary-term/).

## Entity Hierarchy

Glossary Terms belong to a Glossary and can be nested:

```txt Glossary Term theme={null}
Glossary
├── GlossaryTerm (top-level)
│   ├── GlossaryTerm (child)
│   └── GlossaryTerm (child)
└── GlossaryTerm (top-level)
```

## Fully Qualified Name

The FQN format for a glossary term is:

```
glossary.termName
```

For nested terms:

```
glossary.parent.child
```

For example: `BusinessGlossary.Revenue` or `BusinessGlossary.Revenue.GrossRevenue`

***

## API Endpoints

| Method | Endpoint | Description |
| - | - | - |
| `PUT` | `/v1/glossaryTerms` | [Create or update a glossary term](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/create.md) |
| `POST` | `/v1/glossaryTerms` | [Create a glossary term (POST variant)](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/create.md) |
| `GET` | `/v1/glossaryTerms` | [List glossary terms](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/list.md) |
| `GET` | `/v1/glossaryTerms/{id}` | [Get by ID](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/retrieve.md) |
| `GET` | `/v1/glossaryTerms/name/{fqn}` | [Get by FQN](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/retrieve.md) |
| `PATCH` | `/v1/glossaryTerms/{id}` | [Update by ID](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/update.md) |
| `PATCH` | `/v1/glossaryTerms/name/{fqn}` | [Update by name](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/update.md) |
| `DELETE` | `/v1/glossaryTerms/{id}` | [Delete by ID](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/delete.md) |
| `DELETE` | `/v1/glossaryTerms/name/{fqn}` | [Delete by name](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/delete.md) |
| `PUT` | `/v1/glossaryTerms/restore` | [Restore soft-deleted glossary term](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/delete.md) |
| `GET` | `/v1/glossaryTerms/{id}/versions` | [List versions](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/versions.md) |
| `GET` | `/v1/glossaryTerms/{id}/versions/{version}` | [Get specific version](https://docs.open-metadata.org/v2.1.x/api-reference/governance/glossary-terms/versions.md) |

***

## Bulk Add and Remove Glossary Terms on Assets

Use these endpoints to apply or remove the glossary term on many assets in one request:

| Method | Endpoint | Description |
| - | - | - |
| `PUT` | `/v1/glossaryTerms/{id}/assets/add` | Add the glossary term to the assets in the request |
| `PUT` | `/v1/glossaryTerms/{id}/assets/remove` | Remove the glossary term from the assets in the request |

The request body takes an `assets` array of entity references (`id` and `type`) and an optional `dryRun` flag.

### Reading the Result

Each asset is authorized and saved on its own. An asset the caller cannot edit does not fail the whole request with `403`. It comes back as a failed row with the reason, and the other assets are still updated.

* **`status`**: `success` when every asset was updated, `partialSuccess` when some were and some were not, and `failure` when none were.
* **`numberOfRowsProcessed`, `numberOfRowsPassed`, `numberOfRowsFailed`**: Counts of assets in the request, updated, and not updated.
* **`successRequest`**: One entry per updated asset.
* **`failedRequest`**: One entry per asset that was not updated. Each has the `request` (the asset reference) and a `message` with the reason, for example that the caller lacks permission to edit it.

Clients must read `status` and `failedRequest`, not only the HTTP status code. A response of `200` does not mean every asset was updated.

> [!NOTE]
>
> The domain and data product `assets/add` and `assets/remove` endpoints are different: they still return `403` when the caller lacks permission.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.