---
search:
  tags:
    - Environments
    - GET
seo:
  description: >-
    Lists a project's environments. Each one names its default… Reference for
    the GET /_luna/orgs/{org}/projects/{project}/environments endpoint in the
    Luna API.
sidebar:
  label: List environments
  badge: GET
title: List environments
type: openapi-operation
---
Lists a project's environments. Each one names its default tenant, which deploys, secrets and telemetry are addressed to.

`GET /_luna/orgs/{org}/projects/{project}/environments`

**Responses**

- `200` — The project's environments.
- `default` — The request failed. The status says how and \`error.message\` says why.

Response example, 200:

```json
{
  "environments": [
    {
      "id": "string",
      "name": "string",
      "tenant": "string",
      "createdMs": 0,
      "createdBy": "string",
      "expiresMs": 0,
      "from": "string",
      "copy": {
        "from": "string",
        "state": "string",
        "atMs": 0,
        "total": 0,
        "done": 0,
        "copied": 0,
        "skipped": 0,
        "error": "string",
        "startedMs": 0,
        "finishedMs": 0
      },
      "version": 0
    }
  ]
}
```
