Skip to main content
Environment

获取 Environment

获取指定环境详情

GET
/api/v1/agentstudio/environments/{environment_id}
cURL
curl --request GET \
  --url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/environments/{environment_id}' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "id": "env_01JXH5K2M3N4",
  "type": "environment",
  "name": "Python 数据分析",
  "description": "预装 pandas 和 matplotlib",
  "config": {
    "type": "cloud",
    "packages": {
      "pip": [
        "pandas",
        "matplotlib"
      ]
    },
    "networking": {
      "type": "unrestricted"
    }
  },
  "metadata": {},
  "created_at": "2026-07-20T10:00:00Z",
  "updated_at": "2026-07-20T10:00:00Z",
  "workspace_id": "ws_xxx",
  "request_id": "req_xxx"
}

Authorizations

string
header
required

DashScope API Key

Path Parameters

string
required

Response

200-application/json
string

环境 ID

string

固定值 environment

string
string
object
object
string
string
string
string
RAG API
Connector API
Memory API
框架集成
  • 框架