Time Travel
Memonic maintains a version log of every row change. You can reconstruct what any entity looked like at any past timestamp, or diff two versions.
Reconstruct state at a point in time
Section titled “Reconstruct state at a point in time”curl "https://memonic.dev/api/time-travel/_agent_memory/mem-001?asOf=2024-01-15T10:00:00Z" \ -H "Authorization: Bearer YOUR_API_KEY"Returns the full state of row mem-001 as it existed at 2024-01-15T10:00:00Z.
Diff two points in time
Section titled “Diff two points in time”curl -X POST https://memonic.dev/api/time-travel/diff \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "table": "_agent_memory", "rowId": "mem-001", "fromTs": "2024-01-01T00:00:00Z", "toTs": "2024-01-15T00:00:00Z" }'Returns a structured diff of what changed between the two timestamps.
Via MCP
Section titled “Via MCP”The time_travel_query and time_travel_diff MCP tools expose the same functionality to AI agents.