Long-Term Memory API
Persistent Memory API for AI Agents (Hybrid Search) MemVault is a production-ready Memory-as-a-Service API designed to address context window limitations and state management in LLM applications. Instead of maintaining full conversation history in the prompt context—which increases latency and token costs—MemVault offloads state to a persistent storage layer. It abstracts the complexity of…
Long-Term Memory API endpoints
| Method | Endpoint | Description |
|---|---|---|
| POST |
Store Memory /memory/store |
Store a memory item for a given session. Automatically handles importance scoring, timestamps and optional metadata. |
| POST |
Retrieve Memories /memory/retrieve |
Retrieve the most relevant memories for a session, ranked by semantic similarity, recency and importance. |
| POST |
Clear Memory /memory/clear |
Clear memory for a session, either specific memory items or the entire session history. |
| GET |
Get Session Summary /sessions/{sessionId} |
Return a summary of a memory session, including counts, timestamps and basic statistics. Does not return full memory text. |
| GET |
Health Check /health |
Check service health, database connectivity and optional embedding provider status. |
Long-Term Memory API pricing
| Plan | Price | Rate limit | Quotas |
|---|---|---|---|
| BASIC | Free | 5 / minute |
|
| PRO Recommended | $19 / month | 30 / minute |
|
| ULTRA | $49 / month | 60 / minute |
|
| MEGA | $149 / month | 100 / minute |
|