@@ -67,6 +67,7 @@ def update(
6767 container_tags : SequenceNotStr [str ] | Omit = omit ,
6868 content : str | Omit = omit ,
6969 custom_id : str | Omit = omit ,
70+ document_date : str | Omit = omit ,
7071 filepath : str | Omit = omit ,
7172 filter_by_metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
7273 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
@@ -102,6 +103,13 @@ def update(
102103 custom_id: Optional custom ID of the document. This could be an ID from your database that
103104 will uniquely identify this document.
104105
106+ document_date: When this document's content is from, as opposed to when it was uploaded.
107+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
108+ relative dates ('yesterday', 'last quarter') against this instead of the
109+ ingestion time, and documents in a batch are processed oldest-first so newer
110+ facts correctly supersede older ones. Set this whenever you backfill historical
111+ content.
112+
105113 filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
106114 by supermemoryfs to map documents to filesystem paths.
107115
@@ -137,6 +145,7 @@ def update(
137145 "container_tags" : container_tags ,
138146 "content" : content ,
139147 "custom_id" : custom_id ,
148+ "document_date" : document_date ,
140149 "filepath" : filepath ,
141150 "filter_by_metadata" : filter_by_metadata ,
142151 "metadata" : metadata ,
@@ -262,6 +271,7 @@ def add(
262271 container_tag : str | Omit = omit ,
263272 container_tags : SequenceNotStr [str ] | Omit = omit ,
264273 custom_id : str | Omit = omit ,
274+ document_date : str | Omit = omit ,
265275 dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
266276 entity_context : str | Omit = omit ,
267277 filepath : str | Omit = omit ,
@@ -288,6 +298,12 @@ def add(
288298 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
289299 hyphens, underscores, and dots only.
290300
301+ document_date: When this document's content is from, as opposed to when it was uploaded.
302+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
303+ relative dates against this instead of the ingestion time, and documents in a
304+ batch are processed oldest-first so newer facts correctly supersede older ones.
305+ Set this whenever you backfill historical content.
306+
291307 dreaming: Processing mode. "dynamic" (default) groups related documents together so
292308 memories form from coherent, logical units rather than one isolated entry at a
293309 time. "instant" processes each document on its own right away, and bills one
@@ -323,6 +339,7 @@ def add(
323339 "container_tag" : container_tag ,
324340 "container_tags" : container_tags ,
325341 "custom_id" : custom_id ,
342+ "document_date" : document_date ,
326343 "dreaming" : dreaming ,
327344 "entity_context" : entity_context ,
328345 "filepath" : filepath ,
@@ -345,6 +362,7 @@ def batch_add(
345362 container_tag : str | Omit = omit ,
346363 container_tags : SequenceNotStr [str ] | Omit = omit ,
347364 content : None | Omit = omit ,
365+ document_date : str | Omit = omit ,
348366 dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
349367 entity_context : str | Omit = omit ,
350368 filepath : str | Omit = omit ,
@@ -372,6 +390,13 @@ def batch_add(
372390 containerized by. This can be an ID for your user, a project ID, or any other
373391 identifier you wish to use to group documents.
374392
393+ document_date: When this document's content is from, as opposed to when it was uploaded.
394+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
395+ relative dates ('yesterday', 'last quarter') against this instead of the
396+ ingestion time, and documents in a batch are processed oldest-first so newer
397+ facts correctly supersede older ones. Set this whenever you backfill historical
398+ content.
399+
375400 dreaming: Processing mode. "dynamic" (default) groups related documents together so
376401 memories form from coherent, logical units rather than one isolated entry at a
377402 time. "instant" processes each document on its own right away, and bills one
@@ -413,6 +438,7 @@ def batch_add(
413438 "container_tag" : container_tag ,
414439 "container_tags" : container_tags ,
415440 "content" : content ,
441+ "document_date" : document_date ,
416442 "dreaming" : dreaming ,
417443 "entity_context" : entity_context ,
418444 "filepath" : filepath ,
@@ -670,6 +696,7 @@ async def update(
670696 container_tags : SequenceNotStr [str ] | Omit = omit ,
671697 content : str | Omit = omit ,
672698 custom_id : str | Omit = omit ,
699+ document_date : str | Omit = omit ,
673700 filepath : str | Omit = omit ,
674701 filter_by_metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
675702 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
@@ -705,6 +732,13 @@ async def update(
705732 custom_id: Optional custom ID of the document. This could be an ID from your database that
706733 will uniquely identify this document.
707734
735+ document_date: When this document's content is from, as opposed to when it was uploaded.
736+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
737+ relative dates ('yesterday', 'last quarter') against this instead of the
738+ ingestion time, and documents in a batch are processed oldest-first so newer
739+ facts correctly supersede older ones. Set this whenever you backfill historical
740+ content.
741+
708742 filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
709743 by supermemoryfs to map documents to filesystem paths.
710744
@@ -740,6 +774,7 @@ async def update(
740774 "container_tags" : container_tags ,
741775 "content" : content ,
742776 "custom_id" : custom_id ,
777+ "document_date" : document_date ,
743778 "filepath" : filepath ,
744779 "filter_by_metadata" : filter_by_metadata ,
745780 "metadata" : metadata ,
@@ -865,6 +900,7 @@ async def add(
865900 container_tag : str | Omit = omit ,
866901 container_tags : SequenceNotStr [str ] | Omit = omit ,
867902 custom_id : str | Omit = omit ,
903+ document_date : str | Omit = omit ,
868904 dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
869905 entity_context : str | Omit = omit ,
870906 filepath : str | Omit = omit ,
@@ -891,6 +927,12 @@ async def add(
891927 custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
892928 hyphens, underscores, and dots only.
893929
930+ document_date: When this document's content is from, as opposed to when it was uploaded.
931+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
932+ relative dates against this instead of the ingestion time, and documents in a
933+ batch are processed oldest-first so newer facts correctly supersede older ones.
934+ Set this whenever you backfill historical content.
935+
894936 dreaming: Processing mode. "dynamic" (default) groups related documents together so
895937 memories form from coherent, logical units rather than one isolated entry at a
896938 time. "instant" processes each document on its own right away, and bills one
@@ -926,6 +968,7 @@ async def add(
926968 "container_tag" : container_tag ,
927969 "container_tags" : container_tags ,
928970 "custom_id" : custom_id ,
971+ "document_date" : document_date ,
929972 "dreaming" : dreaming ,
930973 "entity_context" : entity_context ,
931974 "filepath" : filepath ,
@@ -948,6 +991,7 @@ async def batch_add(
948991 container_tag : str | Omit = omit ,
949992 container_tags : SequenceNotStr [str ] | Omit = omit ,
950993 content : None | Omit = omit ,
994+ document_date : str | Omit = omit ,
951995 dreaming : Literal ["instant" , "dynamic" ] | Omit = omit ,
952996 entity_context : str | Omit = omit ,
953997 filepath : str | Omit = omit ,
@@ -975,6 +1019,13 @@ async def batch_add(
9751019 containerized by. This can be an ID for your user, a project ID, or any other
9761020 identifier you wish to use to group documents.
9771021
1022+ document_date: When this document's content is from, as opposed to when it was uploaded.
1023+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
1024+ relative dates ('yesterday', 'last quarter') against this instead of the
1025+ ingestion time, and documents in a batch are processed oldest-first so newer
1026+ facts correctly supersede older ones. Set this whenever you backfill historical
1027+ content.
1028+
9781029 dreaming: Processing mode. "dynamic" (default) groups related documents together so
9791030 memories form from coherent, logical units rather than one isolated entry at a
9801031 time. "instant" processes each document on its own right away, and bills one
@@ -1016,6 +1067,7 @@ async def batch_add(
10161067 "container_tag" : container_tag ,
10171068 "container_tags" : container_tags ,
10181069 "content" : content ,
1070+ "document_date" : document_date ,
10191071 "dreaming" : dreaming ,
10201072 "entity_context" : entity_context ,
10211073 "filepath" : filepath ,
0 commit comments