Forum Discussion

jaryszek's avatar
jaryszek
Super User
5 months ago
Solved

How to interact programatically with Ontology?

Hello,   Is there any way to interact with the Ontology programmatically?
  • v-sgandrathi's avatar
    5 months ago

    Hi jaryszek,

     

    The API you mentioned for creating an ontology item in Microsoft Fabric does exist, but it’s important to note its current capabilities and limitations. The Create Ontology API is part of the Fabric REST API, introduced for Fabric IQ scenarios, and is currently in preview or limited rollout. Right now, it mainly allows you to provision the ontology item within a workspace, similar to creating other Fabric resources like a Lakehouse or Warehouse.

    Currently, this API does not support full programmatic management of ontology content. Actions such as creating or updating concepts, defining relationships, managing mappings, or editing the internal structure are not available through public APIs yet. So, while you can create the ontology artifact programmatically, detailed modeling and management still need to be done in the Fabric UI.

    API availability can also depend on tenant settings and Fabric IQ feature rollout. For automation, you can use Fabric REST APIs to manage related assets such as semantic models, metadata, and lineage, but ontology configuration still requires the UI. Full programmatic control of ontology structure is not generally available at this time.

    Thankn you.