GET
/api/v1/agentstudio/environments
cURL
复制
curl --request GET \
--url 'https://dashscope.aliyuncs.com/api/v1/agentstudio/environments' \
--header 'Authorization: Bearer <YOUR_API_KEY>'复制
{
"data": [
{
"id": "env_xxx",
"type": "environment",
"name": "data-sandbox",
"description": "数据分析沙箱",
"config": {
"type": "cloud",
"packages": {
"apt": [
"ffmpeg"
],
"pip": [
"pandas",
"numpy",
"matplotlib"
]
},
"networking": {
"type": "unrestricted"
}
},
"metadata": {
"team": "infra"
},
"scope": "organization",
"archived_at": null,
"created_at": "2026-06-16T12:45:34+08:00",
"updated_at": "2026-06-16T12:45:34+08:00"
}
],
"next_page": "xxx",
"request_id": "xxx"
}鉴权
string
header
必填
DashScope API Key
响应
200-application/json
object[]
Environment 对象数组
显示子属性
显示子属性
string
环境 ID,格式 env_ 前缀字符串
string
固定为 environment
string
环境名称
string
环境用途说明
string
作用域
object
object
业务自定义键值
string | null
归档时间,未归档时为 null
string
创建时间,ISO 8601
string
最近更新时间,ISO 8601
string
下一页游标
string
本次请求的唯一标识