---
title: "resolve a dbt warehouse to the connection it names"
method: GET
path: "/w/{workspace}/dbt/warehouse/{name}"
tags: ["dbt"]
---

# resolve a dbt warehouse to the connection it names

`GET /w/{workspace}/dbt/warehouse/{name}`

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.

## Path parameters

- `workspace` string, required
- `name` string, required

## Response `200`

the connection the warehouse names

- DbtWarehouseConnection
  - `value` unknown, required
  - `target` string
  - `resource_type` string — decides whether the value is translated into a profiles.yml target or already is one

---

[API](https://skmtc.net/windmill/apis/windmill-api.md) · [All operations](https://skmtc.net/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/windmill/windmill-api/versions/155a35b3caff/schema)
