查询AgentSpace
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
|
操作 |
访问级别 |
资源类型 |
条件关键字 |
关联操作 |
|
agentloop:GetAgentSpace |
get |
*AgentSpace
|
无 | 无 |
请求语法
GET /agentspace/{agentSpace} HTTP/1.1
路径参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| agentSpace |
string |
是 |
AgentSpace 名称 |
test-agent-space |
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
当前API无需请求参数
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
响应数据 |
||
| requestId |
string |
请求 Id |
D0173835-9E0F-508F-8BFA-9F556E59C302 |
| agentSpace |
string |
AgentSpace 名称 |
test-agent-space |
| description |
string |
描述 |
test |
| cmsWorkspace |
string |
CMS 工作空间 |
test-cms-workspace |
| mseNamespace |
object |
MSE 命名空间 |
|
| namespaceName |
string |
MSE 命名空间名称 |
terraform-alicloud-modules |
| namespaceId |
string |
MSE 命名空间 ID |
emr-dataware |
| bindType |
string |
||
| slsProject |
string |
日志服务项目名称 |
default-cms-1837787111545040-cn-beijing |
| regionId |
string |
地域 ID |
cn-hangzhou |
| createTime |
string |
创建时间 |
2026-05-05T12:39:36Z |
| updateTime |
string |
更新时间 |
2025-10-20T02:28:14Z |
| cmsWorkspaceBindType |
string |
云监控 2.0 工作空间绑定类型 枚举值:
|
AutoCreated |
示例
正常返回示例
JSON格式
{
"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": ""
},
"slsProject": "default-cms-1837787111545040-cn-beijing",
"regionId": "cn-hangzhou",
"createTime": "2026-05-05T12:39:36Z",
"updateTime": "2025-10-20T02:28:14Z",
"cmsWorkspaceBindType": "AutoCreated"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。