Skip to main content

List Memory Stores

Lists memory stores of the current workspace in reverse creation order. Archived stores are excluded by default.

Prerequisites

Endpoint and authentication configured. For details, see Overview and authentication.

Endpoint

GET /memory_stores

Query parameters

FieldRequiredTypeDescription
include_archivedNobooleanIf false (default), only unarchived stores are returned; true also returns archived ones
limitNointegerPage size, 1-100, default 20
pageNostringPagination cursor. Omit on the first call; pass next_page from the previous response to fetch the next page

Request example

curl "$AGENTSTUDIO_URL/memory_stores" \
  -H "Authorization: Bearer $DASHSCOPE_API_KEY"

Response example

{
  "data": [
    {
      "id": "memstore_xxx",
      "type": "memory_store",
      "name": "Project Knowledge",
      "description": "Project conventions, decisions, and troubleshooting notes",
      "metadata": {
        "team": "data"
      },
      "created_at": "2026-09-17T08:00:00Z",
      "updated_at": "2026-09-17T08:00:00Z"
    }
  ],
  "next_page": null
}

Response fields

FieldTypeDescription
dataarray<object>Array of memory stores
idstring
typestring
namestring
descriptionstring
metadataobject
archived_atstring | null
created_atstring
updated_atstring
next_pagestring | nullCursor for the next page; absent or null when there is no more data

Error codes

HTTP statusError codeDescription
400invalid_request_errorInvalid parameters, path, limit, or pagination cursor
401InvalidApiKeyAPI key missing, invalid, or expired
403permission_errorInsufficient identity or resource access permissions
Flow Agent API
Sandbox API
RAG API
Long-term Memory
ParseX API
Security API
Framework Integration