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

include_archived boolean (可选)If false (default), only unarchived stores are returned; true also returns archived oneslimit integer (可选)Page size, 1-100, default 20page string (可选)Pagination 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 fields

data array<object>Array of memory storesid stringMemory store ID, in the format memstore_xxxtype stringAlways memory_storename stringMemory store name, 1-255 charactersdescription stringPurpose description; an empty string if not setmetadata objectCustom key-value metadata for business usearchived_at string | nullArchive time; omitted or null when not archivedcreated_at stringCreation time, ISO 8601 UTCupdated_at stringLast update time, ISO 8601 UTCnext_page string | nullCursor for the next page; absent or null when there is no more data

Response

{
  "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
}

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