---
title: "List Environments"
method: GET
path: "/env"
tags: ["Environment"]
---

# List Environments

`GET /env`

列出所有可用的环境

## Query parameters

- `starting_after` string, nullable — Cursor for pagination
- `ending_before` string, nullable — Cursor for pagination
- `limit` integer, nullable — Maximum number of environments to return

## Response `200`

Successful Response

- EnvListEnvironmentsResponse — 列出环境响应
  - `environments` EnvInfo[], required
    - `name` string, required
    - `source` string, nullable
    - `module` string, nullable
    - `importable` union
      - string
      - boolean
    - `default_params_summary` string, nullable
    - `origin` string, nullable

## Other responses

- `422` — Validation Error

---

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