Skip to main content
objectEnvironment

Fields

slug
String!

The environment's slug: unique in its workspace, never changes.

What runs in the environment.

name
String!

The environment's display name.

isDefault
Boolean

Whether runs of its type use this environment when they name none.

branch
String

The git branch its runs use; null for the workspace's default.

dbtVersion
String

The dbt version its runs use; null for the workspace's dbt version.

createdAt

When the environment was created.

deferEnvironment

The Bolt environment whose latest run an agent environment defers to; null when it defers to a schedule or to nothing, or when that environment no longer exists. Needs environments:read.

The Bolt schedule an agent environment defers to; null when it defers to an environment or to nothing, or when that schedule no longer exists. Needs bolt:schedules:list.

A Bolt environment's Discovery (metadata) API data: its dbt project as defined, and as its runs last left it. The same data as the root environment(slug:) query returns for this slug in this workspace, with the same access. Null for an agent environment, which has none. Needs discovery:read.

hasWarehouseConnection
Boolean

Whether a data warehouse connection is saved for the environment.

variableNames
[String!]

The names of the environment's variables, sorted. Values are never shown.