> ## Documentation Index
> Fetch the complete documentation index at: https://docs.paradime.io/llms.txt
> Use this file to discover all available pages before exploring further.

# Environment

> A workspace's Bolt or agent environment, named by its slug.



**Kind**: `object`

## Fields

**`slug`**: `String!`

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

---

**`type`**: `EnvironmentType!`

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`**: `DateTime`

When the environment was created.

---

**`deferEnvironment`**: `Environment`

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`.

---

**`deferSchedule`**: `BoltScheduleDefinition`

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`.

---

**`discovery`**: `DiscoveryEnvironment`

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.



## Related topics

- [Agent environment](https://docs.paradime.io/products/settings/connections/dinoai-background-agent-environment/index.md)
- [Environment Management](https://docs.paradime.io/guides/dbt-fundamentals/configuring-your-dbt-project/environment-management.md)
- [Environments and connections](https://docs.paradime.io/guides/foundations/environments-and-connections.md)
- [Virtual Environments](https://docs.paradime.io/developers/virtual-environments/index.md)
- [Bolt environment](https://docs.paradime.io/products/settings/connections/scheduler-environment/index.md)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.