ListDataAgentMemory 获取DataAgent记忆列表(子账号粒度最多50条记忆)
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| DMSUnit |
string |
否 |
当前 DMS 单元 |
cn-hangzhou |
| PageNum |
integer |
否 |
分页页码,最小值为 1。 |
1 |
| PageSize |
integer |
否 |
每页最大数量。默认值:50。 |
50 |
| ContentPattern |
string |
否 |
内容模式,用于模糊查询搜索 |
user preference |
| Order |
string |
否 |
指定的排序字段进行升序或降序。默认值为 desc。
枚举值:
|
desc |
| OrderBy |
string |
否 |
指定排序字段。默认值为 hitTimes。
枚举值:
|
hitTimes |
| QueryAll |
boolean |
否 |
是否查询全部状态的记忆。默认值为 true。 |
true |
| MemFrom |
string |
否 |
记忆来源
枚举值:
|
session |
| FromId |
string |
否 |
来源 ID
|
8zm3**********g3yxa1 |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
Schema of Response |
||
| RequestId |
string |
Id of the request |
67E910F2-4B62-5B0C-ACA3-7547695C**** |
| Data |
object |
返回的结构体 |
|
| Data |
array<object> |
返回的结构体 |
|
|
object |
返回结果。 |
||
| Content |
string |
记忆内容 |
Diamond pricing analysis requires examining the skewness and outliers of the distribution of each feature. |
| GmtCreated |
string |
创建时间 |
2026-07-29T07:11:23Z |
| GmtModified |
string |
修改时间 |
2026-07-29T07:11:23Z |
| HintLevel |
integer |
记忆命中等级(热度) |
1 |
| MemFrom |
string |
记忆来源 |
session |
| Status |
string |
记忆状态 枚举值:
|
memorized |
| Uuid |
string |
记忆 UUID |
8zm3w********g3yxa1 |
| FromId |
string |
记忆来源 ID |
w3xa1********x6y8zm |
| PageNum |
integer |
当前页数。 |
1 |
| PageSize |
integer |
每页记录数。 |
50 |
| Total |
integer |
总记录数。 |
20 |
| Success |
boolean |
请求是否成功,返回值如下:
|
true |
| ErrorCode |
string |
错误码。 |
InvalidTid |
| ErrorMessage |
string |
调用失败时,返回的错误信息。 |
Specified parameter Tid is not valid. |
| Code |
string |
状态码,Success 表示成功。 |
Success |
| Timestamp |
string |
操作时间戳 |
1768270172 |
示例
正常返回示例
JSON格式
{
"RequestId": "67E910F2-4B62-5B0C-ACA3-7547695C****",
"Data": {
"Data": [
{
"Content": "Diamond pricing analysis requires examining the skewness and outliers of the distribution of each feature.",
"GmtCreated": "2026-07-29T07:11:23Z",
"GmtModified": "2026-07-29T07:11:23Z",
"HintLevel": 1,
"MemFrom": "session",
"Status": "memorized",
"Uuid": "8zm3w********g3yxa1",
"FromId": "w3xa1********x6y8zm"
}
],
"PageNum": 1,
"PageSize": 50,
"Total": 20
},
"Success": true,
"ErrorCode": "InvalidTid",
"ErrorMessage": "Specified parameter Tid is not valid.",
"Code": "Success",
"Timestamp": "1768270172"
}
错误码
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。