Skip to main content
Environment

列出 Environment

分页列出工作空间下的环境

GET
/api/v1/agentstudio/environments
cURL
curl --request GET \
  --url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/environments' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "data": [
    {
      "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"
    }
  ],
  "has_more": false,
  "request_id": "req_xxx"
}

Authorizations

string
header
required

DashScope API Key

Response

200-application/json
object[]
boolean
RAG API
Connector API
Memory API
框架集成
  • 框架