Template Management
Get Template
Get the configuration of a specific template
cURL
Copy
curl --request GET \
--url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/sandbox/templates/{templateCode}' \
--header 'Authorization: Bearer <YOUR_API_KEY>'Copy
{
"templateID": "<string>",
"templateName": "<string>",
"cpuCount": 0,
"memoryMB": 0,
"public": false,
"imageName": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"spawnCount": 0,
"buildCount": 0,
"envdVersion": "<string>",
"builds": [
{
"buildID": "<string>",
"status": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"finishedAt": "<string>",
"cpuCount": 0,
"memoryMB": 0,
"diskSizeMB": 0,
"envdVersion": "<string>"
}
]
}