Skip to main content
PUT
/
v1
/
connections
/
{connectionId}
/
dbt
Update dbt configuration
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.

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

connectionId
string<uuid>
required

ID of the connection where dbt is configured

Example:

"550e8400-e29b-41d4-a716-446655440000"

Body

application/json
autogenRelationships
boolean
required

Automatically generate relationships from dbt

Example:

true

branch
string
required

Git branch name

Minimum string length: 1
Example:

"main"

enableVirtualSchemas
boolean
required

Enable virtual schemas from dbt

Example:

false

sshUrl
string
required

SSH URL for git repository

Minimum string length: 1
Example:

"git@github.com:org/repo.git"

dbtVersion
enum<string> | null

dbt version to use

Available options:
Auto,
1.10,
1.11
Example:

"1.11"

enableSemanticLayer
boolean
default:false
Example:

false

projectRootPath

Path to dbt project root within repository

Pattern: ^(?!\/)(?!.*\.\.)[\w ./-]+$
Example:

"dbt_project"

rotateKeys
boolean
default:false

Rotate SSH deploy keys

Example:

false

Response

dbt configuration updated successfully

message
string
required

Success message

Example:

"dbt configuration updated successfully"

success
boolean
required

Whether the operation succeeded

Example:

true