---
title: "Get environment"
method: GET
path: "/environment/{environment_id}"
tags: ["Environments"]
---

# Get environment

`GET /environment/{environment_id}`

## Request

- Base URL: `https://api.braintrust.dev`
- URL: `https://api.braintrust.dev/environment/{environment_id}`
- Auth: one of:
  - HTTP bearer
  - none

Get an environment object by its id

## Path parameters

- `environment_id` string, uuid, required

## Response `200`

Environment object

- Environment
  - `id` string, uuid, required: Unique identifier for the environment
  - `org_id` string, uuid, required: Unique identifier for the organization that the environment belongs under
  - `name` string, required: Name of the environment
  - `slug` string, required: A url-friendly, unique identifier for the environment within an organization
  - `description` string, nullable: Textual description of the environment
  - `created` string, date-time, nullable: Date of environment creation
  - `deleted_at` string, date-time, nullable: Date of environment deletion, or null if the environment is still active

## Other responses

- `400`: The request was unacceptable, often due to missing a required parameter
- `401`: No valid API key provided
- `403`: The API key doesn’t have permissions to perform the request
- `429`: Too many requests hit the API too quickly. We recommend an exponential backoff of your requests
- `500`: Something went wrong on Braintrust's end. (These are rare.)

## Changes

- **2026-03-04** `79e3efbd784c`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/braintrustdata/apis/braintrust-api/changes/environment/:environment_id/get.md)

---

[API](https://skmtc.dev/braintrustdata/apis/braintrust-api.md) - [All operations](https://skmtc.dev/braintrustdata/apis/braintrust-api/llms.txt) - [OpenAPI document](https://skmtc.dev/braintrustdata/apis/braintrust-api/revisions/19184ec94018?raw)
