Data
Restore Memory
Return an expired memory to the active state.
POST
Overview
Returns anexpired 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 orAuthorization 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
activeis 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
- Expire Memory
- Get Expiry Policy to see what would re-expire it