Environment
List Environments
Paginated list of environments within a workspace
cURL
Copy
curl --request GET \
--url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/environments' \
--header 'Authorization: Bearer <YOUR_API_KEY>'Copy
{
"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"
}