Forum Discussion

MarcoOesterlin's avatar
MarcoOesterlin
Copper Contributor
Mar 13, 2025
Solved

Retrieve a Schema of a Data Asset using the Atlas API

Hi, Is there a possibility to retrieve the schema of a data asset using the Atlas API? We have a need using the schema to control sensitive elements in Fabric. I know that one workaround is to...
  • MarcoOesterlin's avatar
    Mar 15, 2025

    I accidentally stumbled upon the new Microsoft Purview Python SDK.
    It is possible to retrieve the schema by using the following function:

     

    client = PurviewCatalogClient(endpoint=purview_endpoint, credential=credential)
    response = client.entity.get_by_guid(guid="INSERT DATA ASSET GUID HERE")
    print(response)

Resources