---
title: "Get Environment"
method: GET
path: "/organizations/{organization_id}/accounts/{account_id}/environments"
tags: ["Environments"]
---

# Get Environment

`GET /organizations/{organization_id}/accounts/{account_id}/environments`

## Request

- Base URL: `https://api.cloudranger.com/202004`
- URL: `https://api.cloudranger.com/202004/organizations/{organization_id}/accounts/{account_id}/environments`
- Auth: API key in header `Authorization` and API key in header `x-api-key`

Return environments by account

## Path parameters

- `organization_id` string, required
- `account_id` string, required

## Response `200`

200 response

- GetOrganizationsAccountsEnvironmentsResponse
  - `hits` object
    - `account_id` string
    - `clone` object
      - `created_at` string, date-time
      - `environment_id` integer
      - `job_id` string
      - `source_environment_id` integer
      - `stack_name` string
      - `updated_at` string, date-time
    - `created_at` string, date-time
    - `deleted_at` string
    - `description` string
    - `id` integer
    - `name` string
    - `organization_id` string
    - `region` string
    - `status` string
    - `updated_at` string, date-time
  - `total` integer

## Other responses

- `201`: 201 response
- `401`: 401 response
- `403`: 403 response
- `404`: 404 response

---

[API](https://skmtc.dev/druva/apis/cloudranger.md) - [All operations](https://skmtc.dev/druva/apis/cloudranger/llms.txt) - [OpenAPI document](https://skmtc.dev/druva/apis/cloudranger/revisions/0b87602807da?raw)
