---
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

## Changes

- **2026-08-04** `9fad33d797fd` — 1 info
  - added the optional property `resource_type` to the response with the `200` status
- **2026-08-01** `33c26da1e324` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/windmill/apis/windmill-api/changes/w/:workspace/dbt/warehouse/:name/get.md)

---

[API](https://skmtc.dev/windmill/apis/windmill-api.md) · [All operations](https://skmtc.dev/windmill/apis/windmill-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/windmill/windmill-api/revisions/7b281701c340/schema)
