latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-14129143297.4 KB

0e52fe5f8d33

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

user_idstring required
consent_atstring nullable required
memory_textstring required
history_textstring required
updated_atstring nullable required