---
title: "Get Environment Info"
method: GET
path: "/env/{env_id}"
tags: ["Environment"]
---

# Get Environment Info

`GET /env/{env_id}`

获取指定环境的详细信息

## Path parameters

- `env_id` string, required — Environment module path or name

## Response `200`

Successful Response

- EnvDetailResponse — 环境详细信息响应
  - `name` string, required
  - `details` 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)
