admin
Get Shared Data Memory
Return the consenting user's MemoryDocument (memory + history).
memory_text is the agent's working memory file (persistent notes, reminders, current context). history_text is the accumulated output of session compactions: each time a long session compacts, the LLM extracts durable facts and appends them here. Reading history_text is the closest persisted surface to a per-event compaction stream; per-event timing lives in logger.info("compaction.summary user=...") lines only and is not yet queryable.
Both columns are envelope-encrypted at rest. A user with no document yet (never compacted, never wrote memory) returns empty strings rather than 404 — consenting and "no memory yet" is a valid combined state.
get/api/admin/shared-data/users/{user_id}/memory
Path parameters
user_idstring required
Response
Successful Response