From c2150e8f1ab837c25182c5ec4da4d0f8e1e0a0b4 Mon Sep 17 00:00:00 2001 From: Kartik Date: Thu, 23 Jul 2026 20:46:29 +0530 Subject: [PATCH] docs: SEO and AEO updates for the memory expiration page (#6535) --- docs/docs.json | 2 +- docs/platform/features/memory-expiration.mdx | 11 ++++++----- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/docs/docs.json b/docs/docs.json index 786d145f1..8b7bef8a4 100644 --- a/docs/docs.json +++ b/docs/docs.json @@ -633,7 +633,7 @@ }, { "source": "/platform/features/expiration-date", - "destination": "/" + "destination": "/platform/features/memory-expiration" }, { "source": "/cookbooks/essentials/memory-expiration-short-and-long-term", diff --git a/docs/platform/features/memory-expiration.mdx b/docs/platform/features/memory-expiration.mdx index 6f7e7fec3..51b405596 100644 --- a/docs/platform/features/memory-expiration.mdx +++ b/docs/platform/features/memory-expiration.mdx @@ -1,9 +1,10 @@ --- -title: Memory Expiration -description: "Give a memory a shelf life: set an expiration date and it stops surfacing in search once that date passes, without deleting the record." +title: "Memory Expiration in Mem0" +sidebarTitle: "Memory Expiration" +description: "Set an expiration date on a Mem0 memory and it stops surfacing in search once that date passes. Nothing is deleted. Works on Platform and Open Source." --- -# Memory Expiration +## Why Use Memory Expiration? Some facts are only true for a while. A trial plan ends, a seasonal preference goes stale, a support ticket ages past its retention window. Set an `expiration_date` on a memory and Mem0 stops surfacing it once that date passes, so you don't need a cleanup job hunting for rows to delete. @@ -18,7 +19,7 @@ Some facts are only true for a while. A trial plan ends, a seasonal preference g - **No expiration date means never expires.** That is the default for every memory. - **Malformed dates fail open**: a stored value Mem0 can't parse is treated as *not* expired. A bad date never makes a memory silently vanish. -## Set an expiration date +## How do you set an expiration date on a memory? Set it when you add the memory: @@ -97,7 +98,7 @@ The same parameter and spelling work on the OSS `Memory` class. See