> ## 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.

# Retrieve a Glossary

> Get a glossary by ID or fully qualified name

# Retrieve a Glossary

Get a single glossary by its unique ID or fully qualified name.

## Get by ID

**id** `string` *required*

UUID of the glossary to retrieve.

**fields** `string`

Comma-separated list of fields to include, for example `owners,tags,domains,reviewers`.

**include** `string` (default: non-deleted)

Include `all`, `deleted`, or `non-deleted` entities.

## Get by Fully Qualified Name

Use `GET /v1/glossaries/name/{fqn}` to retrieve by fully qualified name.

**fqn** `string` *required*

Fully qualified name of the glossary, for example `BusinessGlossary`.

**fields** `string`

Comma-separated list of fields to include: `owners`, `tags`, `domains`, `reviewers`.

**include** `string` (default: non-deleted)

Include `all`, `deleted`, or `non-deleted` entities.

```python GET /v1/glossaries/{id} theme={null}
from metadata.sdk import configure
from metadata.sdk.entities import Glossaries

configure(
    host="https://your-company.open-metadata.org/api",
    jwt_token="your-jwt-token"
)

# Get by ID
glossary = Glossaries.retrieve("c2940a98-f147-6g46-cdef-31f0c4406dc3")
print(f"{glossary.fullyQualifiedName.root}: {getattr(glossary.description, 'root', glossary.description)}")

# Get by ID with fields
glossary = Glossaries.retrieve(
    "c2940a98-f147-6g46-cdef-31f0c4406dc3",
    fields=["owners", "tags", "reviewers"]
)

# Get by fully qualified name
glossary = Glossaries.retrieve_by_name("BusinessGlossary")

# Get by name with fields
glossary = Glossaries.retrieve_by_name(
    "BusinessGlossary",
    fields=["owners", "tags", "reviewers"]
)
```

```java GET /v1/glossaries/{id} theme={null}
// client is an initialized OpenMetadataClient.
var glossary = client.glossaries().get("c2940a98-f147-6g46-cdef-31f0c4406dc3");

// Get by ID with fields
var glossaryWithFields = client.glossaries().get(
    "c2940a98-f147-6g46-cdef-31f0c4406dc3",
    "owners,tags,reviewers");

// Get by fully qualified name
var glossaryByName = client.glossaries().getByName("BusinessGlossary");

// Get by name with fields
var glossaryByNameWithFields = client.glossaries().getByName(
    "BusinessGlossary",
    "owners,tags,reviewers");
```

```bash GET /v1/glossaries/{id} theme={null}
# Get by ID
curl "{base_url}/api/v1/glossaries/c2940a98-f147-6g46-cdef-31f0c4406dc3" \
  -H "Authorization: Bearer {access_token}"

# Get by ID with fields
curl "{base_url}/api/v1/glossaries/c2940a98-f147-6g46-cdef-31f0c4406dc3?fields=owners,tags,reviewers" \
  -H "Authorization: Bearer {access_token}"

# Get by fully qualified name
curl "{base_url}/api/v1/glossaries/name/BusinessGlossary" \
  -H "Authorization: Bearer {access_token}"

# Get by name with fields
curl "{base_url}/api/v1/glossaries/name/BusinessGlossary?fields=owners,tags,domains,reviewers" \
  -H "Authorization: Bearer {access_token}"
```

```json Response theme={null}
{
  "id": "c2940a98-f147-6g46-cdef-31f0c4406dc3",
  "name": "BusinessGlossary",
  "fullyQualifiedName": "BusinessGlossary",
  "displayName": "Business Glossary",
  "description": "Standard business terminology for the organization",
  "version": 0.1,
  "updatedAt": 1769984330261,
  "updatedBy": "admin",
  "href": "http://localhost:8585/api/v1/glossaries/c2940a98-f147-6g46-cdef-31f0c4406dc3",
  "deleted": false,
  "owners": [],
  "reviewers": [],
  "tags": [],
  "mutuallyExclusive": false
}
```

***

## Returns

Returns a glossary object with all requested fields populated.

## Response

**id** `string`

Unique identifier for the glossary (UUID format).

**name** `string`

Glossary name.

**fullyQualifiedName** `string`

Fully qualified name of the glossary.

**displayName** `string`

Human-readable display name.

**description** `string`

Description of the glossary in Markdown format.

**mutuallyExclusive** `boolean`

Whether terms in this glossary are mutually exclusive.

**owners** `array`

List of owners. Only included when `fields` contains `owners`.

**tags** `array`

Classification tags. Only included when `fields` contains `tags`.

**domains** `array`

Domain assignments. Only included when `fields` contains `domains`.

**reviewers** `array`

Reviewers. Only included when `fields` contains `reviewers`.

**version** `number`

Version number for the entity.

***

## Error Handling

| Code | Error Type | Description |
| - | - | - |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token |
| `403` | `FORBIDDEN` | User lacks permission to view this glossary |
| `404` | `NOT_FOUND` | Glossary with given ID or FQN does not exist |


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