---
title: "Get an environment"
method: GET
path: "/repositories/{workspace}/{repo_slug}/environments/{environment_uuid}"
tags: ["Deployments"]
---

# Get an environment

`GET /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}`

Retrieve an environment

## Path parameters

- `workspace` string, required
- `repo_slug` string, required
- `environment_uuid` string, required

## Response `200`

The environment.

- DeploymentEnvironment — A Bitbucket Deployment Environment.
  - `type` string, required
  - `uuid` string — The UUID identifying the environment.
  - `name` string — The name of the environment.

## Other responses

- `404` — No account, repository or environment with the UUID provided exists.

---

[API](https://skmtc.net/atlassian/apis/bitbucket-api.md) · [All operations](https://skmtc.net/atlassian/apis/bitbucket-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/atlassian/bitbucket-api/revisions/3dbfe6a80143/schema)
