Skip to main content
POST

Overview

Returns an expired memory to active and clears its expiry stamp entirely — expired_at and expired_by are removed from the stored document, not left behind. See the Memory Lifecycle reference for the model.

Authentication

API clients do not send an API key or Authorization header.
string
required
Session token from Activate Agent. Must match agent_id.

Path Parameters

string
required
The unique identifier of the agent.
string
required
The ID of the memory to restore.

Notes

  • Restoring a memory that is already active is harmless — it simply re-writes the record with no stamp.
  • A memory removed by Delete Memory or Purge Expired Memories cannot be restored.
  • A later policy sweep can expire the memory again if it still matches a rule.

Next Steps