Environment
A workspace’s Bolt or agent environment, named by its slug.
EnvironmentFields
The environment's slug: unique in its workspace, never changes.
What runs in the environment.
The environment's display name.
Whether runs of its type use this environment when they name none.
The git branch its runs use; null for the workspace's default.
The dbt version its runs use; null for the workspace's dbt version.
When the environment was created.
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.
Whether a data warehouse connection is saved for the environment.
The names of the environment's variables, sorted. Values are never shown.