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

# Create Model from AWS Data Source

`POST /v1/documents/cloud/aws`

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

## Request body

- CreateModelFromAwsDataSourceRequest
  - `title` string, required — The name to give the created model
  - `dataSources` AwsDataSourceForModelCreation[], required — The AWS Data Sources to include in the model
    - `dataSourceId` string, required — AWS data source ID
    - `filter` AwsDataSourceFilter
      - `awsTags` 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 AWS 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 AWS 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)
