Models
Trigger a dbt metadata sync for a branch
Trigger a dbt metadata sync for a branch. Recompiles the branch's dbt manifest and merges the regenerated dbt extension model, without a full database schema scan. The branch (via branch_id) supplies the dbt environment and dbt git branch. Runs as a background job.
post/api/v1/models/{modelId}/dbt-sync
Request
- Base URLhttps://omniapp.co (the document declares no server; this is the origin it was published from)
- URLhttps://omniapp.co/api/v1/models/{modelId}/dbt-sync
- AuthHTTP bearer
Path parameters
modelIdstring uuid required
Model UUID
Example:123e4567-e89b-12d3-a456-426614174000
Query parameters
branch_idstring 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 POST /api/v1/models/{modelId}/branch/{branchName}/dbt).
Example:123e4567-e89b-12d3-a456-426614174001
Response
dbt sync job started
Example response
{
"jobId": "550e8400-e29b-41d4-a716-446655440000"
}Changes
No recorded changes to this operation across all 97 revisions of this API.