Get Memory Version
Updated at:
Reads a specific historical version. For reviewing old content; does not roll back the current memory.
Prerequisites
Endpoint and authentication configured. For details, see Overview and authentication.
Endpoint
GET /memory_stores/{memory_store_id}/memory_versions/{memory_version_id}
Path parameters
| Field | Required | Type | Description |
|---|---|---|---|
memory_store_id | Yes | string | Memory store ID |
memory_version_id | Yes | string | Version ID |
Request example
curl "$AGENTSTUDIO_URL/memory_stores/memstore_xxx/memory_versions/memver_xxx" \
-H "Authorization: Bearer $DASHSCOPE_API_KEY"
Response example
{
"id": "memver_xxx",
"type": "memory_version",
"memory_store_id": "memstore_xxx",
"memory_id": "mem_xxx",
"operation": "modified",
"path": "/notes/project.md",
"content": "# Project Conventions\nThe default development environment is staging.\nChanges require regression tests.\n",
"content_sha256": "a1b2c3d4e5f60718293a4b5c6d7e8f90a1b2c3d4e5f60718293a4b5c6d7e8f90",
"content_size_bytes": 68,
"created_at": "2026-09-17T08:30:00Z"
}
Response fields
| Field | Type | Description |
|---|---|---|
id | string | |
type | string | |
memory_store_id | string | |
memory_id | string | |
operation | created / modified / deleted | |
path | string | |
content | string | |
content_sha256 | string | |
content_size_bytes | integer | |
redacted_at | string | null | |
created_at | string |
Error codes
| HTTP status | Error code | Description |
|---|---|---|
| 401 | InvalidApiKey | API key missing, invalid, or expired |
| 403 | permission_error | Insufficient identity or resource access permissions |
| 404 | not_found_error | Resource does not exist or does not belong to the current workspace |
Is this page helpful?