---
title: "List dbt sources"
method: GET
path: "/api/v1/projects/{projectUuid}/dbt-sources"
tags: ["Projects"]
---

# List dbt sources

`GET /api/v1/projects/{projectUuid}/dbt-sources`

List the dbt sources connected to a project (the primary source plus any
additional sources), without credentials.

## Path parameters

- `projectUuid` string, uuid, required — Stringified UUIDv4. See [RFC 4112](https://tools.ietf.org/html/rfc4122)

## Response `200`

Success

- ApiProjectDbtSourcesResponse
  - `results` ProjectDbtSourceSummary[], required
    - `hasCredentialError` boolean, required
    - `projectSubPath` string, nullable, required
    - `branch` string, nullable, required
    - `repository` string, nullable, required
    - `type` 'dbt' | 'dbt_cloud_ide' | 'github' | 'gitlab' | 'bitbucket' | 'azure_devops' | 'none' | 'manifest', required
    - `precedence` number, double, required
    - `isPrimary` boolean, required
    - `name` string, required
    - `projectDbtSourceUuid` string, required
  - `status` 'ok', required

## Other responses

- `default` — Error

---

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