Skip to main content
POST
Trigger a dbt metadata sync for a branch
Omni’s MCP server also offers this endpoint as the syncModelDbt tool. Before it runs, the tool asks the user to confirm, for example: “Sync dbt metadata for branch {branchId} of model {modelId}?” Its detail explains that the branch’s dbt manifest is recompiled and the dbt models regenerated from it are merged into the schema model.

Authorizations

Authorization
string
header
required

Can be either an Organization API Key or Personal Access Token (PAT).

Include in the Authorization header as: Bearer YOUR_TOKEN

Path Parameters

modelId
string<uuid>
required

The unique identifier of the model

Query Parameters

branch_id
string<uuid>
required

ID of the branch to sync dbt metadata for. The branch supplies the dbt environment and dbt git branch to compile against, set via Set branch dbt environment.

Response

dbt sync job started

jobId
string<uuid>
required

ID of the created job. Poll Get job status for its status.