Documentation Index
Fetch the complete documentation index at: https://docs.qoder.com/llms.txt
Use this file to discover all available pages before exploring further.
GET /v1/memory_stores/{memory_store_id}/versions/{version_id}
Retrieves the details of a single memory version by ID, including its content (if not redacted).
Path parameters
| Parameter | Type | Required | Description |
|---|
memory_store_id | string | Yes | Memory Store ID with the memstore_ prefix |
version_id | string | Yes | Version ID with the memver_ prefix |
| Header | Required | Description |
|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
curl -X GET "https://openapi.qoder.sh/api/v1/cloud/memory_stores/memstore_xxx/versions/memver_xxx" \
-H "Authorization: Bearer $QODER_PAT"
Example response
HTTP 200 OK — non-redacted version
Returns the full MemoryVersion object including content.
{
"id": "memver_019e3bb9cf417d89970ba7f45e728c56",
"type": "memory_version",
"store_id": "memstore_019e3bb93b7074f9a5130d39ddcca90f",
"entry_id": "mem_019e3bb9cf417d7dbb11fe9784dbb65c",
"entry_path": "versions/test.md",
"action": "created",
"content": "Version 1 content",
"size": 17,
"content_sha256": "fe80a065cb120813abf7dfceb4018a53d6eb7140c785181634e019656176c64e",
"redacted": false,
"created_at": "2026-05-18T15:34:53.528628Z"
}
HTTP 200 OK — redacted version
The content field is no longer returned after redaction.
{
"id": "memver_019e3bb9cf417d89970ba7f45e728c56",
"type": "memory_version",
"store_id": "memstore_019e3bb93b7074f9a5130d39ddcca90f",
"entry_id": "mem_019e3bb9cf417d7dbb11fe9784dbb65c",
"entry_path": "versions/test.md",
"action": "created",
"size": 17,
"content_sha256": "fe80a065cb120813abf7dfceb4018a53d6eb7140c785181634e019656176c64e",
"redacted": true,
"redacted_at": "2026-05-18T15:35:13.100297Z",
"created_at": "2026-05-18T15:34:53.528628Z"
}
Response fields
| Field | Type | Description |
|---|
id | string | Version unique identifier |
type | string | Always "memory_version" |
store_id | string | Owning Memory Store ID |
entry_id | string | Associated memory entry ID |
entry_path | string | Path of the associated memory entry |
action | string | Action type: "created", "updated", "deleted" |
content | string | Version content (only present when redacted is false) |
size | int64 | Content size in bytes |
content_sha256 | string | Content SHA-256 hash |
redacted | boolean | Whether the version has been redacted |
redacted_at | string | Redaction time (only present when redacted is true) |
created_at | string | Version creation time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
| 404 | not_found_error | Memory Store or version does not exist |
Notes
- The single-version endpoint includes the
content field when the version is not redacted.
- After redaction, the
content field is no longer returned.
- Redacted versions include the
redacted_at timestamp.
- Versions with
action: "deleted" carry no meaningful content.
See Errors for the full error envelope.