Need help? Get answers from the docs with Omni's in-app AI! Log in to your Omni instance and open the Omni Agent in the sidebar.
curl --request PUT \
--url https://{instance}.omniapp.co/api/v1/connections/{connectionId}/dbt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"autogenRelationships": true,
"branch": "main",
"enableVirtualSchemas": false,
"sshUrl": "git@github.com:org/repo.git",
"dbtVersion": "1.11",
"enableSemanticLayer": false,
"projectRootPath": "dbt_project",
"rotateKeys": false
}
'{
"message": "dbt configuration updated successfully",
"success": true
}Connection Admin permissions are required to use this endpoint.
Updates the dbt configuration for the specified connection.
curl --request PUT \
--url https://{instance}.omniapp.co/api/v1/connections/{connectionId}/dbt \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"autogenRelationships": true,
"branch": "main",
"enableVirtualSchemas": false,
"sshUrl": "git@github.com:org/repo.git",
"dbtVersion": "1.11",
"enableSemanticLayer": false,
"projectRootPath": "dbt_project",
"rotateKeys": false
}
'{
"message": "dbt configuration updated successfully",
"success": true
}Documentation Index
Fetch the complete documentation index at: https://docs.omni.co/llms.txt
Use this file to discover all available pages before exploring further.
Can be either an Organization API Key or Personal Access Token (PAT).
Include in the Authorization header as: Bearer YOUR_TOKEN
ID of the connection where dbt is configured
"550e8400-e29b-41d4-a716-446655440000"
Automatically generate relationships from dbt
true
Git branch name
1"main"
Enable virtual schemas from dbt
false
SSH URL for git repository
1"git@github.com:org/repo.git"
dbt version to use
Auto, 1.10, 1.11 "1.11"
false
Path to dbt project root within repository
^(?!\/)(?!.*\.\.)[\w ./-]+$"dbt_project"
Rotate SSH deploy keys
false
Was this page helpful?