---
title: "GET /api/v3/accounts/{account_id}/projects/{project_id}/credentials/"
method: GET
path: "/api/v3/accounts/{account_id}/projects/{project_id}/credentials/"
tags: ["Credentials"]
---

# GET /api/v3/accounts/{account_id}/projects/{project_id}/credentials/

`GET /api/v3/accounts/{account_id}/projects/{project_id}/credentials/`

## Request

- Base URL: `https://cloud.getdbt.com`
- URL: `https://cloud.getdbt.com/api/v3/accounts/{account_id}/projects/{project_id}/credentials/`
- Auth: HTTP bearer

List the credentials for a given project.

## Path parameters

- `account_id` integer, required
- `project_id` integer, required

## Query parameters

- `include_related` string

## Response `200`

- CredentialsResponseListEnveloped
  - `data` CredentialsResponseList[], required
    - union
      - PostgresCredentials
        - `account_id` integer, required
        - `project_id` integer
        - `type` 'postgres' | 'redshift' | 'snowflake' | 'bigquery' | 'adapter', required: * `postgres` - postgres * `redshift` - redshift * `snowflake` - snowflake * `bigquery` - bigquery * `adapter` - adapter
        - `state` integer, required: A value of 1 means this entity is active and a value of 2 means this entity is deleted
        - `threads` integer, required
        - `username` string, required
        - `default_schema` string, required
        - `target_name` string, required
        - `adapter_version` 'apache_spark_v0' | 'databricks_spark_v0' | 'databricks_v0' | 'trino_v0' | 'snowflake_v0' | 'bigquery_v0' | 'bigquery_v1' | 'postgres_v0' | 'redshift_v0' | 'salesforce_v0' | 'synapse_v0' | 'fabric_v0' | 'athena_v0' | 'teradata_v0' | 'clickhouse_v0': * `apache_spark_v0` - apache_spark_v0 * `databricks_spark_v0` - databricks_spark_v0 * `databricks_v0` - databricks_v0 * `trino_v0` - trino_v0 * `snowflake_v0` - snowflake_v0 * `bigquery_v0` - bigquery_v0 * `bigquery_v1` - bigquery_v1 * `postgres_v0` - postgres_v0 * `redshift_v0` - redshift_v0 * `salesforce_v0` - salesforce_v0 * `synapse_v0` - synapse_v0 * `fabric_v0` - fabric_v0 * `athena_v0` - athena_v0 * `teradata_v0` - teradata_v0 * `clickhouse_v0` - clickhouse_v0
      - RedshiftCredentials
        - `account_id` integer, required
        - `project_id` integer
        - `type` 'postgres' | 'redshift' | 'snowflake' | 'bigquery' | 'adapter', required: * `postgres` - postgres * `redshift` - redshift * `snowflake` - snowflake * `bigquery` - bigquery * `adapter` - adapter
        - `state` integer, required: A value of 1 means this entity is active and a value of 2 means this entity is deleted
        - `threads` integer, required
        - `auth_type` 'password' | 'external_oauth', required: * `password` - PASSWORD * `external_oauth` - OAUTH
        - `username` string
        - `default_schema` string, required
        - `target_name` string, required
        - `adapter_version` 'apache_spark_v0' | 'databricks_spark_v0' | 'databricks_v0' | 'trino_v0' | 'snowflake_v0' | 'bigquery_v0' | 'bigquery_v1' | 'postgres_v0' | 'redshift_v0' | 'salesforce_v0' | 'synapse_v0' | 'fabric_v0' | 'athena_v0' | 'teradata_v0' | 'clickhouse_v0': * `apache_spark_v0` - apache_spark_v0 * `databricks_spark_v0` - databricks_spark_v0 * `databricks_v0` - databricks_v0 * `trino_v0` - trino_v0 * `snowflake_v0` - snowflake_v0 * `bigquery_v0` - bigquery_v0 * `bigquery_v1` - bigquery_v1 * `postgres_v0` - postgres_v0 * `redshift_v0` - redshift_v0 * `salesforce_v0` - salesforce_v0 * `synapse_v0` - synapse_v0 * `fabric_v0` - fabric_v0 * `athena_v0` - athena_v0 * `teradata_v0` - teradata_v0 * `clickhouse_v0` - clickhouse_v0
      - SnowflakeCredentials
        - `account_id` integer, required
        - `project_id` integer
        - `type` 'postgres' | 'redshift' | 'snowflake' | 'bigquery' | 'adapter', required: * `postgres` - postgres * `redshift` - redshift * `snowflake` - snowflake * `bigquery` - bigquery * `adapter` - adapter
        - `state` integer, required: A value of 1 means this entity is active and a value of 2 means this entity is deleted
        - `threads` integer, required
        - `auth_type` 'password' | 'keypair' | 'sso' | 'external_oauth', required: * `password` - PASSWORD * `keypair` - KEYPAIR * `sso` - SSO * `external_oauth` - EXTERNAL_OAUTH
        - `schema` string, required
        - `user` string
        - `target_name` string, required
        - `role` string
        - `database` string
        - `warehouse` string
        - `_refresh_token` string
        - `adapter_version` 'apache_spark_v0' | 'databricks_spark_v0' | 'databricks_v0' | 'trino_v0' | 'snowflake_v0' | 'bigquery_v0' | 'bigquery_v1' | 'postgres_v0' | 'redshift_v0' | 'salesforce_v0' | 'synapse_v0' | 'fabric_v0' | 'athena_v0' | 'teradata_v0' | 'clickhouse_v0': * `apache_spark_v0` - apache_spark_v0 * `databricks_spark_v0` - databricks_spark_v0 * `databricks_v0` - databricks_v0 * `trino_v0` - trino_v0 * `snowflake_v0` - snowflake_v0 * `bigquery_v0` - bigquery_v0 * `bigquery_v1` - bigquery_v1 * `postgres_v0` - postgres_v0 * `redshift_v0` - redshift_v0 * `salesforce_v0` - salesforce_v0 * `synapse_v0` - synapse_v0 * `fabric_v0` - fabric_v0 * `athena_v0` - athena_v0 * `teradata_v0` - teradata_v0 * `clickhouse_v0` - clickhouse_v0
      - BigqueryCredentials
        - `account_id` integer, required
        - `project_id` integer
        - `type` 'postgres' | 'redshift' | 'snowflake' | 'bigquery' | 'adapter', required: * `postgres` - postgres * `redshift` - redshift * `snowflake` - snowflake * `bigquery` - bigquery * `adapter` - adapter
        - `state` integer, required: A value of 1 means this entity is active and a value of 2 means this entity is deleted
        - `threads` integer, required
        - `schema` string, required
        - `target_name` string, required
        - `_refresh_token` string
        - `adapter_version` 'apache_spark_v0' | 'databricks_spark_v0' | 'databricks_v0' | 'trino_v0' | 'snowflake_v0' | 'bigquery_v0' | 'bigquery_v1' | 'postgres_v0' | 'redshift_v0' | 'salesforce_v0' | 'synapse_v0' | 'fabric_v0' | 'athena_v0' | 'teradata_v0' | 'clickhouse_v0': * `apache_spark_v0` - apache_spark_v0 * `databricks_spark_v0` - databricks_spark_v0 * `databricks_v0` - databricks_v0 * `trino_v0` - trino_v0 * `snowflake_v0` - snowflake_v0 * `bigquery_v0` - bigquery_v0 * `bigquery_v1` - bigquery_v1 * `postgres_v0` - postgres_v0 * `redshift_v0` - redshift_v0 * `salesforce_v0` - salesforce_v0 * `synapse_v0` - synapse_v0 * `fabric_v0` - fabric_v0 * `athena_v0` - athena_v0 * `teradata_v0` - teradata_v0 * `clickhouse_v0` - clickhouse_v0
      - DbtAdapterCredentials
        - `account_id` integer, required
        - `project_id` integer
        - `type` 'postgres' | 'redshift' | 'snowflake' | 'bigquery' | 'adapter', required: * `postgres` - postgres * `redshift` - redshift * `snowflake` - snowflake * `bigquery` - bigquery * `adapter` - adapter
        - `state` integer, required: A value of 1 means this entity is active and a value of 2 means this entity is deleted
        - `threads` integer, required
        - `adapter_id` integer
        - `target_name` string, required
        - `adapter_version` 'apache_spark_v0' | 'databricks_spark_v0' | 'databricks_v0' | 'trino_v0' | 'snowflake_v0' | 'bigquery_v0' | 'bigquery_v1' | 'postgres_v0' | 'redshift_v0' | 'salesforce_v0' | 'synapse_v0' | 'fabric_v0' | 'athena_v0' | 'teradata_v0' | 'clickhouse_v0': * `apache_spark_v0` - apache_spark_v0 * `databricks_spark_v0` - databricks_spark_v0 * `databricks_v0` - databricks_v0 * `trino_v0` - trino_v0 * `snowflake_v0` - snowflake_v0 * `bigquery_v0` - bigquery_v0 * `bigquery_v1` - bigquery_v1 * `postgres_v0` - postgres_v0 * `redshift_v0` - redshift_v0 * `salesforce_v0` - salesforce_v0 * `synapse_v0` - synapse_v0 * `fabric_v0` - fabric_v0 * `athena_v0` - athena_v0 * `teradata_v0` - teradata_v0 * `clickhouse_v0` - clickhouse_v0
  - `extra` Extra, required
    - `filters` object, required: Filters applied to the request
    - `order_by` string, required: Ordering applied to the request
    - `pagination` CustomPagination, required
      - `count` integer, required: Number of items in the current page
      - `total_count` integer, required: Total number of items
  - `status` ResponseStatus, required
    - `code` integer: HTTP status code
    - `is_success` boolean, required: Whether the request was successful or not
    - `user_message` string, required: End-user friendly success or error message
    - `developer_message` string, required: Developer friendly success or error message

## Changes

- **2026-10-06** (v3) `7d5c1b4c8d8a`: 2 breaking
  - for the `path` request parameter `account_id`, the format changed from no format to `int64`
  - for the `path` request parameter `project_id`, the format changed from no format to `int64`
- **2026-09-29** (v3) `6b5199f1f0c8`: 5 warning
  - added the new `clickhouse_v0` enum value to the `data/items/oneOf[#/components/schemas/BigqueryCredentials]/adapter_version/allOf[#/components/schemas/AdapterVersionEnum]/` response property for the response status `200`
  - added the new `clickhouse_v0` enum value to the `data/items/oneOf[#/components/schemas/DbtAdapterCredentials]/adapter_version/allOf[#/components/schemas/AdapterVersionEnum]/` response property for the response status `200`
  - added the new `clickhouse_v0` enum value to the `data/items/oneOf[#/components/schemas/PostgresCredentials]/adapter_version/allOf[#/components/schemas/AdapterVersionEnum]/` response property for the response status `200`
  - added the new `clickhouse_v0` enum value to the `data/items/oneOf[#/components/schemas/RedshiftCredentials]/adapter_version/allOf[#/components/schemas/AdapterVersionEnum]/` response property for the response status `200`
  - …1 more
- **2026-03-03** (v3) `643867489c4b`: 1 info
  - added discriminator to `data/items/` response property for the response status `200`

[Operation history](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/changes/api/v3/accounts/:account_id/projects/:project_id/credentials/get.md)

---

[API](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2.md) - [All operations](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/getdbt/apis/dbt-cloud-api-v2/revisions/2448b375ac2f?raw)
