Request
curl -sS --fail-with-body "https://ark.cn-beijing.volces.com/api/v3/environments/<ENVIRONMENT_ID>" \
-H "Authorization: Bearer $ARK_API_KEY" \
-H "Content-Type: application/json" \
-d @- <<'EOF'
{
"description": "预装 pandas 与 numpy 的通用数据分析环境",
"config": {
"packages": {
"pip": ["pandas", "numpy"]
}
}
}
EOFResponse
{
"id": "env-example",
"type": "environment",
"name": "<ENVIRONMENT_NAME>",
"description": "预装 pandas 与 numpy 的通用数据分析环境",
"config": {
"type": "cloud",
"networking": {"type": "unrestricted"},
"packages": {"pip": ["pandas", "numpy"]}
},
"created_at": "2026-07-15T08:00:00Z",
"updated_at": "2026-07-15T09:00:00Z"
}