---
title: "List environments"
method: GET
path: "/project/{projectId}/environment"
tags: ["Environments"]
---

# List environments

`GET /project/{projectId}/environment`

## Request

- Base URL: `https://api.qovery.com`
- URL: `https://api.qovery.com/project/{projectId}/environment`
- Auth: one of:
  - API key in header `Authorization`
  - HTTP bearer
- TypeScript: <https://skmtc.dev/qovery/apis/qovery-api/docs/project/:projectId/environment/get.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `projectId` string, uuid, required

## Response `200`

List environments

- EnvironmentResponseList
  - `results` Environment[]
    - `id` string, uuid, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time
    - `name` string, required: name is case insensitive
    - `organization` ReferenceObject, required
      - `id` string, uuid, required
    - `project` ReferenceObject, required
      - `id` string, uuid, required
    - `last_updated_by` string, uuid: uuid of the user that made the last update
    - `cloud_provider` object, required
      - `provider` string
      - `cluster` string
    - `mode` 'DEVELOPMENT' | 'PREVIEW' | 'PRODUCTION' | 'STAGING', required
    - `cluster_id` string, uuid, required
    - `cluster_name` string, string

## Other responses

- `401`: Access token is missing or invalid
- `403`: Access forbidden
- `404`: Resource not found

---

[API](https://skmtc.dev/qovery/apis/qovery-api.md) - [All operations](https://skmtc.dev/qovery/apis/qovery-api/llms.txt) - [OpenAPI document](https://skmtc.dev/qovery/apis/qovery-api/revisions/93c4960a44ba?raw)
