List Memory Stores

Updated at:

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_archivedbooleanOptional

If false (default), only unarchived stores are returned; true also returns archived ones

limitintegerOptional

Page size, 1-100, default 20

pagestringOptional

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

dataarray<object>

Array of memory stores

idstring

Memory store ID, in the format memstore_xxx

typestring

Always memory_store

namestring

Memory store name, 1-255 characters

descriptionstring

Purpose description; an empty string if not set

metadataobject

Custom key-value metadata for business use

archived_atstring | null

Archive time; omitted or null when not archived

created_atstring

Creation time, ISO 8601 UTC

updated_atstring

Last update time, ISO 8601 UTC

next_pagestring | null

Cursor for the next page; absent or null when there is no more data

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
}

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