---
title: "GET /applications/{ApplicationId}/environments"
method: GET
path: "/applications/{ApplicationId}/environments"
---

# GET /applications/{ApplicationId}/environments

`GET /applications/{ApplicationId}/environments`

Lists the environments for an application.

## Path parameters

- `ApplicationId` string, required

## Query parameters

- `max_results` integer
- `next_token` string
- `MaxResults` string
- `NextToken` string

## Response `200`

Success

- Environments
  - `Items` Environment[] — The elements from this collection.
    - `ApplicationId` string — The application ID.
    - `Id` string — The environment ID.
    - `Name` string — The name of the environment.
    - `Description` string — The description of the environment.
    - `State` 'READY_FOR_DEPLOYMENT' | 'DEPLOYING' | 'ROLLING_BACK' | 'ROLLED_BACK' — The state of the environment. An environment can be in one of the following states: <code>READY_FOR_DEPLOYMENT</code>, <code>DEPLOYING</code>, <code>ROLLING_BACK</code>, or <code>ROLLED_BACK</code>
    - `Monitors` Monitor[] — Amazon CloudWatch alarms monitored during the deployment.
      - `AlarmArn` string, required — Amazon Resource Name (ARN) of the Amazon CloudWatch alarm.
      - `AlarmRoleArn` string — ARN of an Identity and Access Management (IAM) role for AppConfig to monitor <code>AlarmArn</code>.
  - `NextToken` string — The token for the next set of items to return. Use this token to get the next set of results.

## Other responses

- `480` — ResourceNotFoundException
- `481` — InternalServerException
- `482` — BadRequestException

---

[API](https://skmtc.net/aws/apis/appconfig.md) · [All operations](https://skmtc.net/aws/apis/appconfig/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/appconfig/versions/924584438718/schema)
