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

# listEnvironments

> List all environments with scalar fields only (no relations)



**query** `listEnvironments: [EnvironmentListItem!]!`

## Returns

`[EnvironmentListItem!]!`

**`color`**: `String`

The color associated with the environment, used for UI representation

---

**`createdAt`**: `DateTime`

Timestamp of when the record was created

---

**`description`**: `String`

The description of the environment

---

**`displayName`**: `String!`

The display name of the environment

---

**`hardenClientAccessEnabled`**: `Boolean!`

Whether hardened client access is enabled for the environment

---

**`id`**: `UUID!`

Unique identifier for the entity

---

**`isSandbox`**: `Boolean!`

Whether the environment is a sandbox environment

---

**`signingToken`**: `String!`

The signing token for the environment, used for secure communication

---

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

The slug of the environment, used in URLs

---

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

The type of the environment, e.g. "DEVELOPMENT", "PRODUCTION", or "SANDBOX"

## Examples

```graphql Query
query ListEnvironments {
  listEnvironments {
    color
    createdAt
    description
    displayName
    hardenClientAccessEnabled
    id
  }
}
```

```json Response
{
  "data": {
    "listEnvironments": [
      {
        "color": "string",
        "createdAt": "value",
        "description": "string",
        "displayName": "string",
        "hardenClientAccessEnabled": true,
        "id": "value"
      }
    ]
  }
}
```


## Related topics

- [Go SDK](https://docs.stigg.io/api-and-sdks/changelog/backend-graphql/go.md)
- [EnvironmentListItem](https://docs.stigg.io/graphql-reference/types/EnvironmentListItem.md)
- [Get a list of addons](https://docs.stigg.io/api-reference/addons/get-a-list-of-addons.md)
- [Get a list of coupons](https://docs.stigg.io/api-reference/coupons/get-a-list-of-coupons.md)
- [Get a list of customers](https://docs.stigg.io/api-reference/customers/get-a-list-of-customers.md)


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