Retrieve a Glossary
Get a single glossary by its unique ID or fully qualified name.
Get by ID
UUID of the glossary to retrieve.
Comma-separated list of fields to include (e.g., 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.
Fully qualified name of the glossary (e.g., BusinessGlossary).
Comma-separated list of fields to include: owners, tags, domains, reviewers.
include
string
default:"non-deleted"
Include all, deleted, or non-deleted entities.
from metadata.sdk import configure
from metadata.sdk.entities import Glossaries
configure(
host="https://your-company.getcollate.io/api",
jwt_token="your-jwt-token"
)
# Get by ID
glossary = Glossaries.retrieve("c2940a98-f147-6g46-cdef-31f0c4406dc3")
print(f"{glossary.fullyQualifiedName}: {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"]
)
{
"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
Unique identifier for the glossary (UUID format).
Fully qualified name of the glossary.
Human-readable display name.
Description of the glossary in Markdown format.
Whether terms in this glossary are mutually exclusive.
List of owners. Only included when fields contains owners.
Classification tags. Only included when fields contains tags.
Domain assignments. Only included when fields contains domains.
Reviewers. Only included when fields contains reviewers.
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 |