latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-17126285270.4 KB

29d481391a25

dbt Sync

Start a dbt sync for a deployment

post/api/v1/deployments/{deploymentId}/dbt-sync

Path parameters

deploymentIdinteger required

Request body

branchNamestring nullable
refstring nullable

Git ref in the dbt repository to sync from — a branch or a tag, NOT a commit SHA. Overrides the branch saved on the deployment’s dbt git integration for this sync only, so CI can sync the ref under review (e.g. a pull request’s head branch) instead of the tracked branch. The generated Cube branch is named after it.

Response

branchNamestring required
syncJobIdstring required
workflowIdstring required