Models
Set branch dbt environment
Set the active dbt environment on a branch.
post/api/v1/models/{modelId}/branch/{branchName}/dbt
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}/branch/{branchName}/dbt
- AuthHTTP bearer
Path parameters
modelIdstring uuid required
Model UUID
Example:123e4567-e89b-12d3-a456-426614174000
branchNamestring required
Branch name
Example:feature/new-metrics
Request body
Example request
{
"dbt_environment_id": "123e4567-e89b-12d3-a456-426614174000",
"dbt_git_branch": "feature/new-metrics"
}Response
dbt environment set successfully
Example response
{
"success": true
}Changes
No recorded changes to this operation across all 97 revisions of this API.