---
title: "List environments"
method: GET
path: "/environments"
tags: ["Environments"]
---

# List environments

`GET /environments`

List the environments for the workspace linked to the API key. Returns environment metadata only — fetch a single environment by ID to retrieve its variable values.

## Response `200`

Successful Response

- ProtectedEnvironmentsResponse[]
  - `accountId` string, uuid4, required
  - `environmentId` string, uuid4, required
  - `name` string, required
  - `defaultEnv` boolean, required

---

[API](https://skmtc.dev/getorchestra/apis/orchestra-api.md) · [All operations](https://skmtc.dev/getorchestra/apis/orchestra-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/getorchestra/orchestra-api/revisions/50f4d2ba114d/schema)
