Skip to main content
Memory Store

创建 Memory Store

创建一个记忆库

POST
/api/v1/agentstudio/memory_stores
cURL
curl --request POST \
  --url 'https://{workspace_id}.{region}.maas.aliyuncs.com/api/v1/agentstudio/memory_stores' \
  --header 'Authorization: Bearer <YOUR_API_KEY>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "项目知识库",
  "description": "项目约定、决策记录与排查笔记"
}
'
{
  "id": "memstore_xxx",
  "type": "memory_store",
  "name": "项目知识库",
  "description": "项目约定、决策记录与排查笔记",
  "metadata": {
    "team": "data"
  },
  "created_at": "2026-09-17T08:00:00Z",
  "updated_at": "2026-09-17T08:00:00Z"
}

Authorizations

string
header
required

DashScope API Key

Body

application/json
string
required

记忆库名称,1-255 字符

string

用途说明,缺省返回空字符串

object

业务自定义键值对元数据,缺省为空对象

Response

200-application/json
string

记忆库 ID,格式 memstore_xxx

string

固定为 memory_store

string

记忆库名称,1-255 字符

string

用途说明;未填写时为空字符串

object

业务自定义键值对元数据

string | null

归档时间,未归档时省略或为 null

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(下线中)
  • 概览