Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Learn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! Register now
Hi,
I'm using the Fabric REST API to retrieve a semantic model definition:
POST /v1/workspaces/{workspaceId}/semanticModels/{semanticModelId}/getDefinitionThis works for Import models, but I'm unsure about DirectLake semantic models.
Does getDefinition fully support DirectLake models?
Has anyone successfully retrieved the definition (TMDL) for a DirectLake semantic model using this API?
Thanks!
Hi @jaryszek ,
Based on your summary, the original poster is seeking confirmation on whether the Fabric REST API endpoint used to retrieve a semantic model definition works for DirectLake semantic models, in addition to Import mode models. They are already using the API endpoint successfully with Import mode and are uncertain if it supports DirectLake models, specifically for retrieving the TMDL definition. Currently, there is no Super User response in the thread addressing this question, so there is no answer to validate, and the correct status remains None 0%.
According to Microsoft documentation, the getDefinition API is intended to return the public definition of a semantic model item, regardless of the storage mode DirectLake, Import, or DirectQuery. The API retrieves the definition as long as the model exists in the workspace and the user has the necessary permissions. The storage mode does not affect the endpoint’s functionality. This is supported by the Fabric REST API documentation, which confirms that the endpoint returns the semantic model definition for the specified item.
A suitable forum response would be: Yes, the getDefinition endpoint is compatible with DirectLake semantic models. The API retrieves the definition of the semantic model item itself, and the storage mode does not impact this process. Provided you have the necessary permissions and the model exists in the workspace, the API will return the model definition in TMDL format. Any issues encountered are typically related to permissions or the type of semantic model item, rather than the DirectLake storage mode.
Thank you.
thank you,
I tested it and got null as an answer (202). So it means that DirectLAke over OneLake is not working with this rest api. Any alternatives?
Best,
Jacek
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 |
| User | Count |
|---|---|
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |