cURL
Authorizations
string
header
required
DashScope API Key
Path Parameters
string
required
记忆库 ID
Documentation Index
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
按条件列出历史版本
curl --request GET \
--url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/memory_stores/{memory_store_id}/memory_versions' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"data": [
{
"id": "memver_xxx",
"type": "memory_version",
"memory_store_id": "memstore_xxx",
"memory_id": "mem_xxx",
"operation": "modified",
"path": "/notes/project.md",
"content": "# 项目约定\n默认开发环境为预发环境。\n变更需要补充回归测试。\n",
"content_sha256": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
"content_size_bytes": 68,
"created_at": "2026-09-17T08:30:00Z"
}
],
"next_page": null
}DashScope API Key
记忆库 ID
仅返回该记忆的版本;不传则返回整个记忆库的版本
按产生版本的操作类型过滤
版本产生时间下界(含),ISO 8601 UTC
版本产生时间上界(含),ISO 8601 UTC
basic 不含正文(默认);full 返回未擦除的正文
单页条数。basic 为 1-100 默认 20;full 为 1-20
分页游标。翻页时保持全部查询条件与 limit 不变
版本数组;view=full 且未擦除时包含正文
Show child attributes
下一页游标;无更多数据时不含该字段
curl --request GET \
--url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/memory_stores/{memory_store_id}/memory_versions' \
--header 'Authorization: Bearer <YOUR_API_KEY>'{
"data": [
{
"id": "memver_xxx",
"type": "memory_version",
"memory_store_id": "memstore_xxx",
"memory_id": "mem_xxx",
"operation": "modified",
"path": "/notes/project.md",
"content": "# 项目约定\n默认开发环境为预发环境。\n变更需要补充回归测试。\n",
"content_sha256": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
"content_size_bytes": 68,
"created_at": "2026-09-17T08:30:00Z"
}
],
"next_page": null
}