---
title: "Sync Model with AWS Data Source"
method: POST
path: "/v1/documents/cloud/aws/{documentId}/sync"
tags: ["Cloud"]
---

# Sync Model with AWS Data Source

`POST /v1/documents/cloud/aws/{documentId}/sync`

Sync an existing model containing the visualization of data from an AWS data source, so that it is up-to-date with the data in that data source. Returns a jobId that can be used to get the status from Get "Sync Model with AWS Data Source" Job Status.

## Path parameters

- `documentId` string, uuid, required

## Response `202`

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

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

## Other responses

- `400` — Bad Request. Occurs when the document ID is malformatted.
- `403` — Forbidden. Occurs when the document does not exist or the user does not have access to it.
- `409` — Conflict. Occurs when a sync is already in progress for this document.

---

[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)
