Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

July 7 - July 17 | Round 2 of the Power BI Dataviz World Championships. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Confusion about the REST API Post Import In Group - What do we mean by importing a model.json?

Hello everybody,

I am reading through the REST API documentation of 'Post import in Group' which in simpler terms (as per my understanding) allows us to upload a PBIX to a workspace.

The name of the report as it appears online and the id of the workspace are specified via parameters in the URL while the binary content is specified in the body of the request.

 

The Microsoft documentation goes a step forward and states that this REST API end point can also be used for importing a model.json file.

sau001_0-1617834872004.png

 

Please help me understand. 

Does the model.json refer to the underlying DataModel file which can be extracted out of the PBIX by renaming to ZIP?

 

I was under the impression that the DataModel file - even though viewable by extracting from PBIX is essentially not to be tampered with or relied upon. It should be considered an internal file only.

 

Thank you,

Sau

 

 

 

1 ACCEPTED SOLUTION
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Power BI dataflows store data in the CDM folder format in Azure storage.CDM folders use text files to store data, and a model.json file to store metadata.

This API refers to model.json in the dataflow, not model.json in pbix.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

1 REPLY 1
V-lianl-msft
Community Support
Community Support

Hi @Anonymous ,

 

Power BI dataflows store data in the CDM folder format in Azure storage.CDM folders use text files to store data, and a model.json file to store metadata.

This API refers to model.json in the dataflow, not model.json in pbix.

 

Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Top Solution Authors