---
title: "Start a dbt sync for a deployment"
method: POST
path: "/api/v1/deployments/{deploymentId}/dbt-sync"
tags: ["dbt Sync"]
---

# Start a dbt sync for a deployment

`POST /api/v1/deployments/{deploymentId}/dbt-sync`

## Path parameters

- `deploymentId` integer, required

## Request body

- StartDbtSyncInput
  - `branchName` string, nullable

## Response `200`

- DbtSyncResponse
  - `branchName` string, required
  - `syncJobId` string, required
  - `workflowId` string, required

---

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