---
title: "List Site Environments"
method: GET
path: "/v0/sites/{site_id}/environments"
tags: ["sites"]
---

# List Site Environments

`GET /v0/sites/{site_id}/environments`

Lists all environments for a specific Pantheon site.

Returns a map of environments keyed by environment ID (e.g., "dev", "test", "live").
This format matches the old API for Terminus compatibility.

## Path parameters

- `site_id` string, required

## Response `200`

EnvironmentMapResponse represents a successful response containing environment map

- EnvironmentMap — EnvironmentMap represents site environments as a map keyed by environment ID This format matches the old API and is required for Terminus compatibility

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/pantheon/apis/pantheon-public-api-service.md) · [All operations](https://skmtc.net/pantheon/apis/pantheon-public-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pantheon/pantheon-public-api-service/revisions/94758829689e/schema)
