Skip to main content
Memory Store

获取 Memory

读取单个记忆及其正文

GET
/api/v1/agentstudio/memory_stores/{memory_store_id}/memories/{memory_id}
cURL
curl --request GET \
  --url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/memory_stores/{memory_store_id}/memories/{memory_id}' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'
{
  "id": "mem_xxx",
  "type": "memory",
  "memory_store_id": "memstore_xxx",
  "path": "/notes/project.md",
  "content": "# 项目约定\n默认开发环境为预发环境。\n",
  "content_sha256": "e3b0c44b98fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",
  "content_size_bytes": 47,
  "memory_version_id": "memver_xxx",
  "created_at": "2026-09-17T08:00:00Z",
  "updated_at": "2026-09-17T08:00:00Z"
}

Authorizations

string
header
required

DashScope API Key

Path Parameters

string
required

记忆库 ID

string
required

记忆 ID

Response

200-application/json
string

记忆 ID,格式 mem_xxx

string

固定为 memory

string

所属记忆库 ID

string

记忆库内路径,以 / 开头

string

正文,UTF-8 文本;view=full 或单条读取时返回

string

正文的 SHA256 哈希,可用作条件更新的乐观锁

integer

正文的 UTF-8 字节数

string

当前版本 ID,格式 memver_xxx

string

创建时间,ISO 8601 UTC

string

最近更新时间,ISO 8601 UTC

Sandbox API
Token Plan API
Security API
记忆库 API
Flow Agent API
RAG API
Connector API
ParseX API
框架集成
  • 框架
Assistant API(下线中)
  • 概览