---
title: "Create Model from Azure Data Source"
method: POST
path: "/v1/documents/cloud/azure"
tags: ["Cloud"]
---

# Create Model from Azure Data Source

`POST /v1/documents/cloud/azure`

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.

## Request body

- CreateModelFromAzureDataSourceRequest
  - `title` string, required — The name to give the created model
  - `dataSources` AzureDataSourceForModelCreation[], required — The Azure Data Sources to include in the model
    - `dataSourceId` string, required — Azure data source ID
    - `filter` AzureDataSourceFilter
      - `azureTags` TagOrLabel[]
        - `key` string, required — The tag or label key
        - `value` string — The tag or label value
      - `includeUntaggedResources` boolean — Whether to include resources that do not have any tags
      - `resourceGroups` string[] — The Azure resource groups to include in the model
  - `autosync` boolean, required — Whether this model should automatically update with changes to its data source(s)
  - `viewTemplates` string[] — 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.

## Response `202`

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

- JobReferenceIdResponse
  - `jobId` string, required — Unique identifier for an asynchronous job

---

[API](https://skmtc.net/lucid/apis/lucid-rest-api.md) · [All operations](https://skmtc.net/lucid/apis/lucid-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/lucid/lucid-rest-api/revisions/6a32cb9e1aa7/schema)
