跳转到主要内容
GET /api/v1/cloud/memory_stores/{memory_store_id} 获取单个 Memory Store 对象

请求头

头部必选说明
AuthorizationBearer <PAT>

路径参数

参数类型必选说明
memory_store_idstringMemory Store ID,前缀为 memstore_

示例请求

curl -X GET "https://api.qoder.com/api/v1/cloud/memory_stores/memstore_019e3bb8d50674d9b082b73709c29c87" \
  -H "Authorization: Bearer $QODER_PAT"

示例响应

HTTP 200 OK
{
  "id": "memstore_019e3bb8d50674d9b082b73709c29c87",
  "created_at": "2026-05-18T15:33:49.449Z",
  "name": "doc-test-store",
  "type": "memory_store",
  "updated_at": "2026-05-18T15:33:49.449Z",
  "archived_at": null,
  "description": "测试用",
  "metadata": {},
  "status": "active",
  "entry_count": 0,
  "total_size": 0
}

错误码

HTTPtype触发条件
401authentication_error缺少或无效的认证令牌
404not_found_error指定 ID 的 Memory Store 不存在
完整错误信封说明详见 错误参考