v1

latestOpenAPI 3.1.02026-07-2618690613.4 KB
dbt

List dbt environments

<Note> This endpoint requires **Connection Admin** permissions for the connection. </Note>

Retrieves a list of all dbt environments configured for the specified connection.

get/v1/connections/{connectionId}/dbt/environments

Path parameters

connectionIdstring uuid required

The unique identifier of the connection

Response

List of dbt environments retrieved successfully

idstring uuid

Unique identifier of the dbt environment

namestring

The name of the dbt environment

isDefaultEnvironmentboolean

Whether this is the default environment

isDeferralEnabledboolean

Whether deferral is enabled for this environment. Ignored (forced to false) for the default (production) environment.

ownerIdstring uuid nullable

The user ID of the owner of the dbt environment, or null

targetDatabasestring nullable

Target database override

targetNamestring nullable

Target name override

targetRolestring nullable

Target role override

targetSchemastring

Target schema for the environment