Skip to main content
Memory Stores

查询 Memory Store

查询指定 Forward Memory Store 的详情。

根据 Memory Store ID 获取单个 Store 详情。

路径

GET /api/v1/forward/memory_stores/{memory_store_id}

请求头

头部必选说明
AuthorizationBearer <PAT 或 admin SAT>

路径参数

参数类型必选说明
memory_store_idstringMemory Store ID(memstore_...)。

示例请求

curl -X GET "https://api.qoder.com/api/v1/forward/memory_stores/memstore_00mc7mukn7lkxr454tjd" \
  -H "Authorization: Bearer $QODER_ACCESS_TOKEN"

示例响应

HTTP 200 OK
{
  "id": "memstore_00mc7mukn7lkxr454tjd",
  "type": "memory_store",
  "name": "project-alpha-memory",
  "description": "Alpha 项目的 Agent 知识库",
  "status": "active",
  "entry_count": 12,
  "total_size": 4096,
  "metadata": {"created_by": "forward", "team": "backend"},
  "system_managed": false,
  "identity_id": null,
  "created_at": "2026-08-14T10:00:00Z",
  "updated_at": "2026-08-14T10:00:00Z",
  "archived_at": null,
  "binding_info": {"identity_template_count": 1}
}

响应字段解释

返回 Memory Store 对象

错误码

HTTPtype触发条件
400invalid_request_error路径参数非法。
401authentication_error缺少或无效的认证令牌。
403permission_error当前调用方无权访问该资源。
404not_found_errorStore 不存在或跨用户不可见。
500/502/503api_errorForward 或依赖服务失败。