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

AgentKit

复制全文
下载 pdf
Memory
GetMemoryConnectionInfo - 查询记忆库长期记忆提取策略详情
复制全文
下载 pdf
GetMemoryConnectionInfo - 查询记忆库长期记忆提取策略详情
查询记忆库的长期记忆提取策略详情。​
请求参数​
下方仅列出该接口特有的请求参数和部分公共参数。更多信息请见公共参数。​
Action string 必选 示例值:GetMemoryConnectionInfo​
要执行的操作,取值:GetMemoryConnectionInfo。​
​
Version string 必选 示例值:2025-10-30​
API的版本,取值:2025-10-30。​
​
MemoryId string 必选 示例值:mem-17616225****​
记忆库ID。​
​
​
​
返回参数​
下方仅列出本接口特有的返回参数。更多信息请参见返回结构。​
ConnectionInfos object[] 示例值:--​
长期记忆提取策略信息。​
AddrType string 示例值:PUBLIC​
网络地址类型,取值:​
  • PUBLIC:公网。​
  • PRIVATE:私网。​
​
AuthKey string 示例值:key-123​
认证密钥。​
​
AuthType string 示例值:APIKEY​
鉴权类型,取值:​
  • BEARER_TOKEN:使用AuthKey中的值作为Bearer token。​
  • APIKEY:使用AuthKey中的值作为Authorization header。​
  • AK_SK:使用您的火山引擎AK/SK进行标准化签名后的值作为Authorization header。​
​
BaseUrl string 示例值:https://base.url​
记忆库平台的基础URL地址。​
​
ExpireAt string 示例值:2025-09-17T10:00:00+8:00​
认证信息过期时间。​
​
Status string 示例值:AVAILABLE​
连接状态,取值:​
  • AVAILABLE:已连接。​
  • CREATING:连接中。​
  • UNAVAILABLE:连接失败。​
​
VpcId string 示例值:vpc-257gqcdfvx6n****​
VPC ID,仅在使用私网时有取值。​
​
​
Managed boolean 示例值:true​
记忆库是否由Agentkit平台管理,取值:​
  • true:表示由Agentkit平台创建,删除时会同时删除对应平台的资源。​
  • false:表示由提供商平台导入,删除时保留对应平台的资源。​
​
MemoryId string 示例值:mem-17616225****​
记忆库ID。​
​
Message string 示例值:No ready endpoints.​
状态消息,包含额外的状态信息或错误描述。​
​
ProviderCollectionId string 示例值:mem-294775****​
已导入的记忆库ID。​
​
ProviderType string 示例值:MEM0​
记忆库类型,取值:​
  • MEM0:Mem0记忆库。​
  • VIKINGDB_MEMORY:Viking长期记忆。​
​
Status string 示例值:Ready​
记忆库状态,取值:​
  • Creating:创建中。​
  • CreateFailed:创建失败。​
  • Ready:可用。​
  • Deleting:删除中。​
  • DeleteFailed:删除失败。​
  • Deleted:资源失效。​
  • Error:错误。​
​
​
​
请求示例​
​
POST https://agentkit.cn-beijing.volcengineapi.com?Action=GetMemoryConnectionInfo&Version=2025-10-30 HTTP/1.1​
Content-Type: application/json​
{​
{​
"MemoryId": "mem-17611386****"​
}​
}​
​
​
返回示例​
​
{​
"ResponseMetadata": {​
"RequestId": "202106111445100102252431000052****",​
"Action": "GetMemoryConnectionInfo",​
"Version": "2025-10-10",​
"Service": "agentkit",​
"Region": "cn-beijing"​
},​
"Result": {​
"MemoryId": "mem-176113869****",​
"ProviderCollectionId": "mem-294775****",​
"ProviderType": "MEM0",​
"Status": "Ready",​
"ConnectionInfos": [​
{​
"BaseUrl": "https://base.url",​
"AuthType": "APIKEY",​
"AuthKey": "api-key",​
"ExpireAt": ""​
}​
],​
"Managed": "true",​
"Message": "Collection is ready for use"​
}​
}​
​
错误码​
下表为您列举了该接口与业务逻辑相关的错误码。公共错误码请参见公共错误码文档。​
​
状态码​
错误码​
错误信息​
说明​
400​
MissingParameter.MemoryId​
The required parameter MemoryId is not supplied.​
参数MemoryId不能为空。​
​
​
最近更新时间:2025.12.16 10:09:02
这个页面对您有帮助吗?
有用
有用
无用
无用