---
title: "List environments"
method: GET
path: "/environment"
tags: ["Environments"]
---

# List environments

`GET /environment`

## Request

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

List out all environments. The environments are sorted by creation date, with the most recently-created environments first.

## Query parameters

- `ids` union: Filter by environment IDs. Supports a single ID or multiple values.
  - string, uuid
  - string[]
- `name` string
- `org_name` string: Filter search results to within a particular organization

## Response `200`

List of environments

- object
  - `objects` Environment[], required
    - `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/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)
