You need to enable JavaScript to run this app.
文档中心
AgentKit

AgentKit

复制全文
下载 pdf
A2A
GetA2aSpace - 查询A2A智能体空间详情
复制全文
下载 pdf
GetA2aSpace - 查询A2A智能体空间详情
查询A2A智能体空间详情。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:GetA2aSpace​
要执行的操作,取值:GetA2aSpace。​
​
Version string 必选 示例值:2025-10-30​
API的版本,取值:2025-10-30。​
​
Id string 必选 示例值:as-yeglyhjytc3srhse****​
A2A智能体空间的实例ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
Id string 示例值:as-yeglyhjytc3srhse****​
A2A智能体空间的实例ID。​
​
Name string 示例值:space​
A2A智能体空间的名称。​
​
IntentEnabled boolean 示例值:false​
A2A智能体空间是否开启语义检索。开启后,可基于调用意图的自然语言,返回空间内匹配度最高的智能体。​
  • true:开启。​
  • false:未开启。​
​
ProjectName string 示例值:default​
A2A智能体空间所属项目的名称。​
​
Tags object[] 示例值:--​
A2A智能体空间的标签。​
Key string 示例值:Key1​
标签的键。​
​
Value string 示例值:Value1​
标签的值。​
​
​
IsDefault boolean 示例值:false​
是否设定为默认A2A智能体空间。注册A2A智能体时,如果不指定具体的A2A智能体空间,则默认注册至默认A2A智能体空间。​
  • true:设定为默认空间。​
  • false:不设定为默认空间。​
​
​
​
请求示例​
​
POST /?Action=GetA2aSpace&Version=2025-10-30 HTTP/1.1​
Host: agentkit.cn-beijing.volcengineapi.com​
Content-Type: application/json; charset=UTF-8​
X-Date: 20260309T121250Z​
X-Content-Sha256: 287e874e******d653b44d21e​
Authorization: HMAC-SHA256 Credential=Adfks******wekfwe/20260309/cn-beijing/agentkit/request, SignedHeaders=host;x-content-sha256;x-date, Signature=47a7d934ff7b37c03938******cd7b8278a40a1057690c401e92246a0e41085f​
​
{​
"Id": "as-yeglyhjytc3srhse****"​
}​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "2026030920125301921010312839****",​
"Action": "GetA2aSpace",​
"Version": "2025-10-30",​
"Service": "agentkit",​
"Region": "cn-beijing"​
},​
"Result": {​
"Id": "as-yeglyhjytc3srhse****",​
"Name": "space",​
"IntentEnabled": true,​
"ProjectName": "default",​
"Tags": [​
{​
"Key": "Key1",​
"Value": "Value1"​
}​
],​
"IsDefault": true​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
403​
AccessDenied​
You are not authorized to perform this action.​
没有执行操作的权限。​
500​
InternalError​
The request has failed due to an unknown error.​
内部错误。​
​
​
最近更新时间:2026.03.12 11:19:34
这个页面对您有帮助吗?
有用
有用
无用
无用