GET /v1/memory_stores/{memory_store_id}/versions/{version_id}
Retrieves a single Memory version object. The response includes content only when the version is not redacted and content is available.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
memory_store_id | string | Yes | Memory Store ID with the memstore_ prefix |
version_id | string | Yes | Memory version ID with the memver_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OK, not redactedResponse fields
| Field | Type | Description |
|---|---|---|
id | string | Memory version ID with the memver_ prefix |
type | string | Always "memory_version" |
store_id | string | Owning Memory Store ID |
entry_id | string | Memory entry ID |
entry_path | string | Entry path at the time this version was recorded |
action | string | Version action. See Memory version action |
content | string | Returned only when redacted is false and content is available |
size | integer | Version content size in bytes |
content_sha256 | string | SHA-256 digest of the version content |
redacted | boolean | Whether the version content has been redacted |
redacted_at | string | UTC redaction time, returned only when redacted is true |
created_at | string | UTC creation time |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | authentication_error | Missing or invalid authentication token |
| 404 | not_found_error | Memory Store or version does not exist |
Related
Build persistent memory
Give your agent persistent memory across sessions.