Skip to main content
GET
/
v1
/
connections
/
{connectionId}
/
dbt
Get dbt configuration
curl --request GET \
  --url https://{instance}.omniapp.co/api/v1/connections/{connectionId}/dbt \
  --header 'Authorization: Bearer <token>'
{
  "autogenRelationships": true,
  "branch": "main",
  "dbtVersion": "Auto",
  "enableSemanticLayer": false,
  "enableVirtualSchemas": false,
  "projectRootPath": "dbt_project",
  "sshUrl": "git@github.com:org/repo.git",
  "supportsDbt": true
}

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"

Response

dbt configuration successfully retrieved

autogenRelationships
boolean
required

Whether relationships are auto-generated from dbt

Example:

true

branch
string
required

Git branch name

Example:

"main"

dbtVersion
string
required

dbt version being used

Example:

"Auto"

enableSemanticLayer
boolean
required

Whether the dbt semantic layer integration is enabled

Example:

false

enableVirtualSchemas
boolean
required

Whether virtual schemas are enabled

Example:

false

projectRootPath
string | null
required

Path to dbt project root

Example:

"dbt_project"

sshUrl
string
required

SSH URL for git repository

Example:

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

supportsDbt
boolean
required

Whether the connection dialect supports dbt.

Example:

true

message
string

Message explaining dbt status. Returned if dbt is not configured.

Example:

"dbt not configured for this connection"