GET /v1/memory_stores/{memory_store_id}/memories/{memory_id}
Retrieves the full information of a memory entry by ID, including its content.
Path parameters
| Parameter | Type | Required | Description |
|---|---|---|---|
memory_store_id | string | Yes | Memory Store ID with the memstore_ prefix |
memory_id | string | Yes | Memory entry ID with the mem_ prefix |
Headers
| Header | Required | Description |
|---|---|---|
Authorization | Yes | Bearer $QODER_PAT |
Example request
Example response
HTTP 200 OK Returns the full MemoryEntry object (includingcontent).
Response fields
| Field | Type | Description |
|---|---|---|
id | string | Unique identifier |
type | string | Always "memory" |
store_id | string | Owning Memory Store ID |
path | string | Relative path |
content | string | Full memory content |
size | int64 | Content size in bytes |
content_sha256 | string | Content SHA-256 hash |
version | int64 | Current version number |
metadata | object | Custom metadata |
created_at | string | Creation time (ISO 8601) |
updated_at | string | Last update time (ISO 8601) |
Errors
| HTTP | Type | Trigger |
|---|---|---|
| 401 | TOKEN_INVALID | Missing or invalid authentication token |
| 404 | not_found_error | Memory Store or memory entry does not exist |
Notes
- This endpoint returns the
contentfield (unlike the list endpoint). - Use it to fetch the full content of the latest version.