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
/memory_storesQuery parameters
include_archivedbooleanOptionalIf false (default), only unarchived stores are returned; true also returns archived ones
limitintegerOptionalPage size, 1-100, default 20
pagestringOptionalPagination 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
idstringMemory store ID, in the format memstore_xxx
typestringAlways memory_store
namestringMemory store name, 1-255 characters
descriptionstringPurpose description; an empty string if not set
metadataobjectCustom key-value metadata for business use
archived_atstring | nullArchive time; omitted or null when not archived
created_atstringCreation time, ISO 8601 UTC
updated_atstringLast update time, ISO 8601 UTC
next_pagestring | nullCursor 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 status | Error code | Description |
|---|---|---|
| 400 | invalid_request_error | Invalid parameters, path, limit, or pagination cursor |
| 401 | InvalidApiKey | API key missing, invalid, or expired |
| 403 | permission_error | Insufficient identity or resource access permissions |