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

> Get a glossary term by ID or fully qualified name

# Retrieve a Glossary Term

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

## Get by ID

<ParamField path="id" type="string" required>
  UUID of the glossary term to retrieve.
</ParamField>

<ParamField query="fields" type="string">
  Comma-separated list of fields to include (e.g., `owners,tags,domains,relatedTerms,reviewers,children`).
</ParamField>

<ParamField query="include" type="string" default="non-deleted">
  Include `all`, `deleted`, or `non-deleted` entities.
</ParamField>

## Get by Fully Qualified Name

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

<ParamField path="fqn" type="string" required>
  Fully qualified name of the glossary term (e.g., `BusinessGlossary.Revenue`).
</ParamField>

<ParamField query="fields" type="string">
  Comma-separated list of fields to include: `owners`, `tags`, `domains`, `relatedTerms`, `reviewers`, `children`.
</ParamField>

<ParamField query="include" type="string" default="non-deleted">
  Include `all`, `deleted`, or `non-deleted` entities.
</ParamField>

<RequestExample dropdown>
  ```python GET /v1/glossaryTerms/{id} theme={null}
  from metadata.sdk import configure
  from metadata.sdk.entities import GlossaryTerms

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

  # Get by ID
  term = GlossaryTerms.retrieve("d3a50b09-g258-7h57-defg-42g1d5517ed4")
  print(f"{term.fullyQualifiedName}: {term.description}")

  # Get by ID with fields
  term = GlossaryTerms.retrieve(
      "d3a50b09-g258-7h57-defg-42g1d5517ed4",
      fields=["owners", "tags", "relatedTerms", "children"]
  )

  # Get by fully qualified name
  term = GlossaryTerms.retrieve_by_name("BusinessGlossary.Revenue")

  # Get by name with fields
  term = GlossaryTerms.retrieve_by_name(
      "BusinessGlossary.Revenue",
      fields=["owners", "tags", "relatedTerms", "children"]
  )
  ```

  ```java GET /v1/glossaryTerms/{id} theme={null}
  import static org.openmetadata.sdk.fluent.GlossaryTerms.*;

  // Get by ID
  var term = GlossaryTerms.retrieve("d3a50b09-g258-7h57-defg-42g1d5517ed4");

  // Get by ID with fields
  var term = GlossaryTerms.retrieve(
      "d3a50b09-g258-7h57-defg-42g1d5517ed4",
      "owners,tags,relatedTerms,children"
  );

  // Get by fully qualified name
  var term = GlossaryTerms.retrieveByName("BusinessGlossary.Revenue");

  // Get by name with fields
  var term = GlossaryTerms.retrieveByName(
      "BusinessGlossary.Revenue",
      "owners,tags,relatedTerms,children"
  );
  ```

  ```bash GET /v1/glossaryTerms/{id} theme={null}
  # Get by ID
  curl "{base_url}/api/v1/glossaryTerms/d3a50b09-g258-7h57-defg-42g1d5517ed4" \
    -H "Authorization: Bearer {access_token}"

  # Get by ID with fields
  curl "{base_url}/api/v1/glossaryTerms/d3a50b09-g258-7h57-defg-42g1d5517ed4?fields=owners,tags,relatedTerms,children" \
    -H "Authorization: Bearer {access_token}"

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

  # Get by name with fields
  curl "{base_url}/api/v1/glossaryTerms/name/BusinessGlossary.Revenue?fields=owners,tags,relatedTerms,children" \
    -H "Authorization: Bearer {access_token}"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "id": "d3a50b09-g258-7h57-defg-42g1d5517ed4",
    "name": "Revenue",
    "fullyQualifiedName": "BusinessGlossary.Revenue",
    "displayName": "Revenue",
    "description": "Total income generated from business operations",
    "synonyms": ["Income", "Earnings", "Sales"],
    "glossary": {
      "id": "c2940a98-f147-6g46-cdef-31f0c4406dc3",
      "type": "glossary",
      "name": "BusinessGlossary",
      "fullyQualifiedName": "BusinessGlossary",
      "deleted": false
    },
    "version": 0.1,
    "updatedAt": 1769984330261,
    "updatedBy": "admin",
    "href": "http://localhost:8585/api/v1/glossaryTerms/d3a50b09-g258-7h57-defg-42g1d5517ed4",
    "deleted": false,
    "owners": [],
    "tags": [],
    "children": [],
    "relatedTerms": []
  }
  ```
</ResponseExample>

***

## Returns

Returns a glossary term object with all requested fields populated.

## Response

<ResponseField name="id" type="string">
  Unique identifier for the glossary term (UUID format).
</ResponseField>

<ResponseField name="name" type="string">
  Glossary term name.
</ResponseField>

<ResponseField name="fullyQualifiedName" type="string">
  Fully qualified name of the glossary term.
</ResponseField>

<ResponseField name="displayName" type="string">
  Human-readable display name.
</ResponseField>

<ResponseField name="description" type="string">
  Description of the glossary term in Markdown format.
</ResponseField>

<ResponseField name="synonyms" type="array">
  List of synonym strings.
</ResponseField>

<ResponseField name="glossary" type="object">
  Reference to the parent glossary.
</ResponseField>

<ResponseField name="children" type="array" optional>
  Child term references. Only included when `fields` contains `children`.
</ResponseField>

<ResponseField name="relatedTerms" type="array" optional>
  Related term references. Only included when `fields` contains `relatedTerms`.
</ResponseField>

<ResponseField name="owners" type="array" optional>
  List of owners. Only included when `fields` contains `owners`.
</ResponseField>

<ResponseField name="tags" type="array" optional>
  Classification tags. Only included when `fields` contains `tags`.
</ResponseField>

<ResponseField name="version" type="number">
  Version number for the entity.
</ResponseField>

***

## Error Handling

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