---
title: "GET /api/v1/environments/"
method: GET
path: "/api/v1/environments/"
tags: ["mcp"]
---

# GET /api/v1/environments/

`GET /api/v1/environments/`

Lists all environments the user has access to

## Query parameters

- `page` integer
- `project` integer

## Response `200`

- PaginatedEnvironmentSerializerWithMetadataList
  - `count` integer, required
  - `next` string, uri, nullable
  - `previous` string, uri, nullable
  - `results` EnvironmentSerializerWithMetadata[], required
    - `id` integer
    - `uuid` string, uuid
    - `name` string, required
    - `api_key` string
    - `description` string, nullable
    - `project` integer, required — Changing the project selected will remove all previous Feature States for the previously associated projects Features that are related to this Environment. New default Feature States will be created for the new selected projects Features for this Environment.
    - `minimum_change_request_approvals` integer, nullable
    - `allow_client_traits` boolean — Allows clients using the client API key to set traits.
    - `banner_text` string, nullable
    - `banner_colour` string, nullable — hex code for the banner colour
    - `hide_disabled_flags` boolean, nullable — If true will exclude flags from SDK which are disabled. NOTE: If set, this will override the project `hide_disabled_flags`
    - `use_mv_v2_evaluation` boolean — To avoid breaking the API, we return this field as well. Warning: this will still mean that sending the `use_mv_v2_evaluation` field (e.g. in a PUT request) will not behave as expected but, since this is a minor issue, I think we can ignore.
    - `use_identity_composite_key_for_hashing` boolean — Enable this to have consistent multivariate and percentage split evaluations across all SDKs (in local and server side mode)
    - `hide_sensitive_data` boolean — If true, will hide sensitive data(e.g: traits, description etc) from the SDK endpoints
    - `use_v2_feature_versioning` boolean
    - `use_identity_overrides_in_local_eval` boolean — When enabled, identity overrides will be included in the environment document
    - `is_creating` boolean — Attribute used to indicate when an environment is still being created (via clone for example)
    - `metadata` Metadata[]
      - `id` integer
      - `model_field` integer, required
      - `field_value` string, required

---

[API](https://skmtc.dev/flagsmith/apis/flagsmith-api.md) · [All operations](https://skmtc.dev/flagsmith/apis/flagsmith-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/flagsmith/flagsmith-api/revisions/5a8154d05269/schema)
