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

# List Glossaries

> List all glossaries with optional filtering and pagination

# List Glossaries

List all glossaries with optional filtering and pagination.

## Query Parameters

<ParamField query="limit" type="integer" default="10">
  Maximum number of results to return (max: 1000000).
</ParamField>

<ParamField query="before" type="string">
  Cursor for backward pagination.
</ParamField>

<ParamField query="after" type="string">
  Cursor for forward pagination.
</ParamField>

<ParamField query="fields" type="string">
  Comma-separated list of fields to include: `owners`, `tags`, `domains`, `reviewers`. See [Supported Fields](#supported-fields) below.
</ParamField>

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

<RequestExample dropdown>
  ```python GET /v1/glossaries 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"
  )

  # List first page
  glossaries = Glossaries.list(limit=50)
  for g in glossaries.data:
      print(f"{g.fullyQualifiedName}")

  # List all with auto-pagination
  for g in Glossaries.list_all():
      print(f"{g.fullyQualifiedName}")

  # With fields
  glossaries = Glossaries.list(
      fields=["owners", "tags", "reviewers"],
      limit=50
  )

  for g in glossaries.data:
      print(f"{g.fullyQualifiedName}")
      if g.reviewers:
          print(f"  Reviewers: {[r.name for r in g.reviewers]}")
  ```

  ```java GET /v1/glossaries theme={null}
  import static org.openmetadata.sdk.fluent.Glossaries.*;

  // List first page
  var result = Glossaries.list()
      .limit(50)
      .execute();

  for (var g : result.getData()) {
      System.out.println(g.getFullyQualifiedName());
  }

  // With fields
  var result = Glossaries.list()
      .fields("owners", "tags", "reviewers")
      .limit(50)
      .execute();
  ```

  ```bash GET /v1/glossaries theme={null}
  # List all
  curl "{base_url}/api/v1/glossaries?limit=50" \
    -H "Authorization: Bearer {access_token}"

  # With fields
  curl "{base_url}/api/v1/glossaries?fields=owners,tags,domains,reviewers&limit=50" \
    -H "Authorization: Bearer {access_token}"
  ```
</RequestExample>

<ResponseExample>
  ```json Response theme={null}
  {
    "data": [
      {
        "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
      }
    ],
    "paging": {
      "after": "...",
      "total": 3
    }
  }
  ```
</ResponseExample>

***

## Returns

Returns a paginated list of glossary objects. By default, only basic fields are included. Use the `fields` parameter to request additional data.

## Response

<ResponseField name="data" type="array">
  Array of glossary objects.

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

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

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

    <ResponseField name="mutuallyExclusive" type="boolean">
      Whether terms are mutually exclusive.
    </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="domains" type="array" optional>
      Domain assignments. Only included when `fields` contains `domains`.
    </ResponseField>

    <ResponseField name="reviewers" type="array" optional>
      Reviewers. Only included when `fields` contains `reviewers`.
    </ResponseField>
  </Expandable>
</ResponseField>

<ResponseField name="paging" type="object">
  Pagination information.

  <Expandable title="properties">
    <ResponseField name="total" type="integer">
      Total count of glossaries matching the query.
    </ResponseField>

    <ResponseField name="after" type="string" optional>
      Cursor for the next page of results. Null if this is the last page.
    </ResponseField>

    <ResponseField name="before" type="string" optional>
      Cursor for the previous page of results. Null if this is the first page.
    </ResponseField>
  </Expandable>
</ResponseField>

***

## Supported Fields

| Field       | Description                        |
| ----------- | ---------------------------------- |
| `owners`    | Owner references (users and teams) |
| `tags`      | Classification tags                |
| `domains`   | Domain assignments for governance  |
| `reviewers` | Glossary term reviewers            |

***

## Error Handling

| Code  | Error Type     | Description                              |
| ----- | -------------- | ---------------------------------------- |
| `401` | `UNAUTHORIZED` | Invalid or missing authentication token  |
| `403` | `FORBIDDEN`    | User lacks permission to list glossaries |
