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

# List Environments

`GET /deploy/environments`

Allows listing environments for a given organization ID.

## Query parameters

- `org-id` string, uuid, required
- `page-size` integer, required
- `page-token` string

## Response `200`

Paginated environments list

- PaginatedEnvironmentList
  - `items` Environment[]
    - `created_at` string, date-time — The time when the environment was created
    - `description` string — Short description given to the environment
    - `id` string, uuid — The environment ID
    - `labels` Label[] — The labels associated to the environment
      - `key` string — The key of the label
      - `value` string — The value of the label
    - `name` string — The environment name
    - `updated_at` string, date-time — The time when the environment was updated
  - `next_page_token` string, nullable — The pagination token to use when fetching the next page in this result set.

## Other responses

- `400` — Unexpected request body provided.
- `404` — Entity not found.
- `500` — Internal server error.

---

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