GetAgentSpace
Queries the AgentSpace.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
agentloop:GetAgentSpace |
get |
*AgentSpace
|
None | None |
Request syntax
GET /agentspace/{agentSpace} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| agentSpace |
string |
Yes |
The name of the AgentSpace. |
test-agent-space |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The request ID. |
D0173835-9E0F-508F-8BFA-9F556E59C302 |
| agentSpace |
string |
The name of the AgentSpace. |
test-agent-space |
| description |
string |
The description. |
test |
| cmsWorkspace |
string |
The CMS workspace. |
test-cms-workspace |
| mseNamespace |
object |
The MSE namespace. |
|
| namespaceName |
string |
The name of the MSE namespace. |
terraform-alicloud-modules |
| namespaceId |
string |
The ID of the MSE namespace. |
emr-dataware |
| bindType |
string |
The attach type of the MSE namespace. AutoCreated indicates automatic creation by AgentLoop. UserSelected indicates that you select and attach an existing namespace when creating the AgentSpace. |
AutoCreated |
| slsProject |
string |
The name of the Simple Log Service project. |
default-cms-1837787111545040-cn-beijing |
| regionId |
string |
The region ID. |
cn-hangzhou |
| createTime |
string |
The creation time. |
2026-05-05T12:39:36Z |
| updateTime |
string |
The update time. |
2025-10-20T02:28:14Z |
| cmsWorkspaceBindType |
string |
The binding type of the CloudMonitor 2.0 workspace. Valid values:
|
AutoCreated |
| tags |
array<object> |
The complete standard tags of the active AgentSpace in the current region. An empty array is returned if it is confirmed that no tags exist. This field is omitted if the AgentSpace is not active or the tags cannot be determined. The omission of this field does not indicate that no tags exist. |
[{"key":"env","value":"test"}] |
|
object |
The tag information. |
{"key":"env","value":"test"} |
|
| key |
string |
The tag key. |
env |
| value |
string |
The tag value, which can be an empty string. |
test |
Examples
Success response
JSON format
{
"requestId": "D0173835-9E0F-508F-8BFA-9F556E59C302",
"agentSpace": "test-agent-space",
"description": "test",
"cmsWorkspace": "test-cms-workspace",
"mseNamespace": {
"namespaceName": "terraform-alicloud-modules",
"namespaceId": "emr-dataware",
"bindType": "AutoCreated"
},
"slsProject": "default-cms-1837787111545040-cn-beijing",
"regionId": "cn-hangzhou",
"createTime": "2026-05-05T12:39:36Z",
"updateTime": "2025-10-20T02:28:14Z",
"cmsWorkspaceBindType": "AutoCreated",
"tags": [
{
"key": "env",
"value": "test"
}
]
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.