Powered by SAPIENCE — Self-Adaptive Persistent Intelligence for Emergent Narrative Contextual Engagement
Last updated: May 2025
This document describes the active API endpoints used by the MemoryMuse React frontend and external tools.
Trigger a full prompt generation cycle and return the Muse's response.
Request JSON:
{ "prompt": "What are your thoughts on memory?" }Returns:
{ "response": "Memory is a thread..." }Logs user and Muse replies, broadcasts via WebSocket.
Create a new markdown journal entry.
Return full Muse profile JSON (muse_profile.json).
Return the core principles string (core_principles.json).
Get all cortex memory entries grouped by type (excluding encryption_key).
Edit an entry in-place.
Delete an entry by ID.
Get message count and export status per day. Used by: ChatGPT sync system.
Return availability of logs by day. Used by: Memory Center calendar in the UI.
Fetch all logs for a specific day.
Mark logs as exported (or unmark).
Upload .jsonl file of logs to a temporary collection.
List prior import sessions.
Move logs from temp collection into long-term memory.
Remove temp import collection.
Check progress of currently processing import.
Return recent messages, optionally filtered by timestamp.
Return MP3 audio file from provided text.
Stream voice output using ElevenLabs.
Upload audio (WAV) and return Whisper transcription.
This API is actively evolving.
For internal use only — public versioning TBD.