v1

latestOpenAPI 3.0.3Lucid2026-07-14155181312.3 KB
Cloud

Create Model from Azure Data Source

Create a new model containing the visualization of data from an Azure data source. Returns a jobId that can be used to retrieve the status from the Get "Create Model from Azure Data Source" Job Status endpoint.

post/v1/documents/cloud/azure

Request body

titlestring required

The name to give the created model

autosyncboolean required

Whether this model should automatically update with changes to its data source(s)

viewTemplatesstring[]

The view templates to create in the generated model. Use the "Get Supported Azure View Templates" endpoint to see a list of all supported view templates.

Example request

{
  "title": "Azure Infrastructure Diagram",
  "dataSources": [
    {
      "dataSourceId": "azureds_34567",
      "filter": {
        "azureTags": [
          {
            "key": "Environment",
            "value": "Production"
          }
        ],
        "includeUntaggedResources": true,
        "resourceGroups": [
          "Some-Azure-Resource::Some-Azure-Server"
        ]
      }
    }
  ],
  "autosync": true,
  "viewTemplates": [
    "virtual-network-topology",
    "resources"
  ]
}

Response

Accepted. Occurs when the model creation job has been queued.

jobIdstring required

Unique identifier for an asynchronous job

Example response

{
  "jobId": "jobr_2f5e5b82-6f1d-4c9f-932a-14e43cf30454"
}