cURL
Template Management
List Templates
List templates in the current workspace
cURL
Copy
curl --request GET \
--url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/sandbox/v2/templates' \
--header 'Authorization: Bearer <YOUR_API_KEY>'Copy
[
{
"templateID": "<string>",
"templateName": "<string>",
"cpuCount": 0,
"memoryMB": 0,
"public": false,
"aliases": [
"<string>"
],
"names": [
"<string>"
],
"createdAt": "<string>",
"updatedAt": "<string>",
"spawnCount": 0,
"buildCount": 0,
"envdVersion": "<string>"
}
]