Gorthi Sai Sri Sindhuja Gorthi Sai Sri Sindhuja Greetings!
Is there a way to import graph in digital twins using python SDK or APIs.
You can try using the Jobs API to upload multiple models, twins, and relationships to your instance in a single API call, effectively creating the graph all at once.
But there are some 1000 models, which is resulting in 1000 JSON files. We found out that we can import graph with single JSON file. So, could you help us with this?
Please see Bulk import with the Jobs API This method requires the use of Azure Blob Storage, as well as write permissions in your Azure Digital Twins instance for graph elements (models, twins, and relationships) and bulk jobs.
To import resources in bulk, you can try by creating an NDJSON file containing the details of your resources.
Also, see Azure Digital Twins APIs and SDKs for more details.
Let us know if that helps or have any further queries.