Skip to main content
POST
Error

Path Parameters

projectUuid
string<uuid>
required

Stringified UUIDv4. See RFC 4112

Pattern: [0-9A-Fa-f]{8}-[0-9A-Fa-f]{4}-4[0-9A-Fa-f]{3}-[89ABab][0-9A-Fa-f]{3}-[0-9A-Fa-f]{12}

Body

application/json
dbtConnection
object
required
name
string
required

Response

Created

results
object
required

Non-sensitive view of a dbt source for API responses — never includes the decrypted connection (which holds credentials). The primary source is synthesised from the project's own dbt_connection. repository, branch and projectSubPath are the git-backed source's identity (null for non-git connections); they are safe to expose — only secrets are stripped.

hasCredentialError is always false for the synthesised primary source. See ProjectDbtSource for what it means on an additional source.

status
enum<string>
required
Available options:
ok