---
title: "Get an environment"
method: GET
path: "/environments/{environmentId}"
tags: ["environments"]
---

# Get an environment

`GET /environments/{environmentId}`

Returns a single environment

## Path parameters

- `environmentId` string, required

## Headers

- `Authorization` string, required
- `X-Disable-Hooks` 'true', required

## Response `200`

Response with status 200

- TypeEnvironmentsEnvironmentResponse
  - `data` TypeEnvironmentsEnvironment, required
    - `id` string, required — Environment ID
    - `accountId` string, required — Account ID
    - `name` string, required — The name of the environment
    - `isProd` boolean, required — Whether or not the environment is a production environment
    - `guestAuthentication` TypeEnvironmentsGuestAuthenticationEnum[], required
    - `features` object, required
    - `metadata` object, required
    - `translationsPath` string
    - `namespaces` string[]
    - `languageOverride` string

## Other responses

- `400` — Error response with status 400
- `404` — Error response with status 404

---

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