dbt

resolve a dbt warehouse to the connection it names

Changed on

Job-scoped: needs a job token, because the response carries the warehouse's credentials. dbt is unpermissioned by design, so a running job reaches any warehouse the workspace configures.

get/w/{workspace}/dbt/warehouse/{name}

Request

  • Base URL: /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL: /api/w/{workspace}/dbt/warehouse/{name}
  • Auth: one of:
    • HTTP bearer
    • API key in cookie token

Path parameters

workspacestring required
namestring required

Response

the connection the warehouse names

valueunknown required
targetstring
resource_typestring

decides whether the value is translated into a profiles.yml target or already is one

Changes