@@ -66,6 +66,7 @@ def update(
6666 container_tags : SequenceNotStr [str ] | Omit = omit ,
6767 content : str | Omit = omit ,
6868 custom_id : str | Omit = omit ,
69+ filepath : str | Omit = omit ,
6970 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
7071 task_type : Literal ["memory" , "superrag" ] | Omit = omit ,
7172 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -99,6 +100,9 @@ def update(
99100 custom_id: Optional custom ID of the document. This could be an ID from your database that
100101 will uniquely identify this document.
101102
103+ filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
104+ by supermemoryfs to map documents to filesystem paths.
105+
102106 metadata: Optional metadata for the document. This is used to store additional information
103107 about the document. You can use this to store any additional information you
104108 need about the document. Metadata can be filtered through. Keys must be strings
@@ -126,6 +130,7 @@ def update(
126130 "container_tags" : container_tags ,
127131 "content" : content ,
128132 "custom_id" : custom_id ,
133+ "filepath" : filepath ,
129134 "metadata" : metadata ,
130135 "task_type" : task_type ,
131136 },
@@ -141,6 +146,7 @@ def list(
141146 self ,
142147 * ,
143148 container_tags : SequenceNotStr [str ] | Omit = omit ,
149+ filepath : str | Omit = omit ,
144150 filters : document_list_params .Filters | Omit = omit ,
145151 include_content : bool | Omit = omit ,
146152 limit : Union [str , float ] | Omit = omit ,
@@ -162,6 +168,9 @@ def list(
162168 your user, a project ID, or any other identifier you wish to use to group
163169 documents.
164170
171+ filepath: Filter documents by filepath. Exact match for full paths, prefix match if ending
172+ with /
173+
165174 filters: Optional filters to apply to the search. Can be a JSON string or Query object.
166175
167176 include_content: Whether to include the content field in the response. Warning: This can make
@@ -188,6 +197,7 @@ def list(
188197 body = maybe_transform (
189198 {
190199 "container_tags" : container_tags ,
200+ "filepath" : filepath ,
191201 "filters" : filters ,
192202 "include_content" : include_content ,
193203 "limit" : limit ,
@@ -245,6 +255,7 @@ def add(
245255 container_tags : SequenceNotStr [str ] | Omit = omit ,
246256 custom_id : str | Omit = omit ,
247257 entity_context : str | Omit = omit ,
258+ filepath : str | Omit = omit ,
248259 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
249260 task_type : Literal ["memory" , "superrag" ] | Omit = omit ,
250261 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -270,6 +281,9 @@ def add(
270281 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
271282 document processing to guide memory extraction.
272283
284+ filepath: Optional file path for the document. Used by supermemoryfs to store the full
285+ path of the file.
286+
273287 metadata: Optional metadata for the document.
274288
275289 task_type: Task type: "memory" (default) for full context layer with SuperRAG built in,
@@ -292,6 +306,7 @@ def add(
292306 "container_tags" : container_tags ,
293307 "custom_id" : custom_id ,
294308 "entity_context" : entity_context ,
309+ "filepath" : filepath ,
295310 "metadata" : metadata ,
296311 "task_type" : task_type ,
297312 },
@@ -310,6 +325,7 @@ def batch_add(
310325 container_tag : str | Omit = omit ,
311326 container_tags : SequenceNotStr [str ] | Omit = omit ,
312327 content : None | Omit = omit ,
328+ filepath : str | Omit = omit ,
313329 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
314330 task_type : Literal ["memory" , "superrag" ] | Omit = omit ,
315331 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -333,6 +349,9 @@ def batch_add(
333349 containerized by. This can be an ID for your user, a project ID, or any other
334350 identifier you wish to use to group documents.
335351
352+ filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
353+ by supermemoryfs to map documents to filesystem paths.
354+
336355 metadata: Optional metadata for the document. This is used to store additional information
337356 about the document. You can use this to store any additional information you
338357 need about the document. Metadata can be filtered through. Keys must be strings
@@ -358,6 +377,7 @@ def batch_add(
358377 "container_tag" : container_tag ,
359378 "container_tags" : container_tags ,
360379 "content" : content ,
380+ "filepath" : filepath ,
361381 "metadata" : metadata ,
362382 "task_type" : task_type ,
363383 },
@@ -373,6 +393,7 @@ def delete_bulk(
373393 self ,
374394 * ,
375395 container_tags : SequenceNotStr [str ] | Omit = omit ,
396+ filepath : str | Omit = omit ,
376397 ids : SequenceNotStr [str ] | Omit = omit ,
377398 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
378399 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -387,6 +408,9 @@ def delete_bulk(
387408 Args:
388409 container_tags: Array of container tags - all documents in these containers will be deleted
389410
411+ filepath: Delete documents matching this filepath. Exact match for full paths, prefix
412+ match if ending with /
413+
390414 ids: Array of document IDs to delete (max 100 at once)
391415
392416 extra_headers: Send extra headers
@@ -402,6 +426,7 @@ def delete_bulk(
402426 body = maybe_transform (
403427 {
404428 "container_tags" : container_tags ,
429+ "filepath" : filepath ,
405430 "ids" : ids ,
406431 },
407432 document_delete_bulk_params .DocumentDeleteBulkParams ,
@@ -470,6 +495,7 @@ def upload_file(
470495 file : FileTypes ,
471496 container_tag : str | Omit = omit ,
472497 container_tags : str | Omit = omit ,
498+ filepath : str | Omit = omit ,
473499 file_type : str | Omit = omit ,
474500 metadata : str | Omit = omit ,
475501 mime_type : str | Omit = omit ,
@@ -494,6 +520,9 @@ def upload_file(
494520 '["user_123", "project_123"]') or a single string (e.g., 'user_123'). Single
495521 strings will be automatically converted to an array.
496522
523+ filepath: Optional file path for the uploaded file (e.g., '/documents/reports/file.pdf').
524+ Used by supermemoryfs to map documents to filesystem paths.
525+
497526 file_type:
498527 Optional file type override to force specific processing behavior. Valid values:
499528 text, pdf, tweet, google_doc, google_slide, google_sheet, image, video,
@@ -526,6 +555,7 @@ def upload_file(
526555 "file" : file ,
527556 "container_tag" : container_tag ,
528557 "container_tags" : container_tags ,
558+ "filepath" : filepath ,
529559 "file_type" : file_type ,
530560 "metadata" : metadata ,
531561 "mime_type" : mime_type ,
@@ -577,6 +607,7 @@ async def update(
577607 container_tags : SequenceNotStr [str ] | Omit = omit ,
578608 content : str | Omit = omit ,
579609 custom_id : str | Omit = omit ,
610+ filepath : str | Omit = omit ,
580611 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
581612 task_type : Literal ["memory" , "superrag" ] | Omit = omit ,
582613 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -610,6 +641,9 @@ async def update(
610641 custom_id: Optional custom ID of the document. This could be an ID from your database that
611642 will uniquely identify this document.
612643
644+ filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
645+ by supermemoryfs to map documents to filesystem paths.
646+
613647 metadata: Optional metadata for the document. This is used to store additional information
614648 about the document. You can use this to store any additional information you
615649 need about the document. Metadata can be filtered through. Keys must be strings
@@ -637,6 +671,7 @@ async def update(
637671 "container_tags" : container_tags ,
638672 "content" : content ,
639673 "custom_id" : custom_id ,
674+ "filepath" : filepath ,
640675 "metadata" : metadata ,
641676 "task_type" : task_type ,
642677 },
@@ -652,6 +687,7 @@ async def list(
652687 self ,
653688 * ,
654689 container_tags : SequenceNotStr [str ] | Omit = omit ,
690+ filepath : str | Omit = omit ,
655691 filters : document_list_params .Filters | Omit = omit ,
656692 include_content : bool | Omit = omit ,
657693 limit : Union [str , float ] | Omit = omit ,
@@ -673,6 +709,9 @@ async def list(
673709 your user, a project ID, or any other identifier you wish to use to group
674710 documents.
675711
712+ filepath: Filter documents by filepath. Exact match for full paths, prefix match if ending
713+ with /
714+
676715 filters: Optional filters to apply to the search. Can be a JSON string or Query object.
677716
678717 include_content: Whether to include the content field in the response. Warning: This can make
@@ -699,6 +738,7 @@ async def list(
699738 body = await async_maybe_transform (
700739 {
701740 "container_tags" : container_tags ,
741+ "filepath" : filepath ,
702742 "filters" : filters ,
703743 "include_content" : include_content ,
704744 "limit" : limit ,
@@ -756,6 +796,7 @@ async def add(
756796 container_tags : SequenceNotStr [str ] | Omit = omit ,
757797 custom_id : str | Omit = omit ,
758798 entity_context : str | Omit = omit ,
799+ filepath : str | Omit = omit ,
759800 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
760801 task_type : Literal ["memory" , "superrag" ] | Omit = omit ,
761802 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -781,6 +822,9 @@ async def add(
781822 entity_context: Optional entity context for this container tag. Max 1500 characters. Used during
782823 document processing to guide memory extraction.
783824
825+ filepath: Optional file path for the document. Used by supermemoryfs to store the full
826+ path of the file.
827+
784828 metadata: Optional metadata for the document.
785829
786830 task_type: Task type: "memory" (default) for full context layer with SuperRAG built in,
@@ -803,6 +847,7 @@ async def add(
803847 "container_tags" : container_tags ,
804848 "custom_id" : custom_id ,
805849 "entity_context" : entity_context ,
850+ "filepath" : filepath ,
806851 "metadata" : metadata ,
807852 "task_type" : task_type ,
808853 },
@@ -821,6 +866,7 @@ async def batch_add(
821866 container_tag : str | Omit = omit ,
822867 container_tags : SequenceNotStr [str ] | Omit = omit ,
823868 content : None | Omit = omit ,
869+ filepath : str | Omit = omit ,
824870 metadata : Dict [str , Union [str , float , bool , SequenceNotStr [str ]]] | Omit = omit ,
825871 task_type : Literal ["memory" , "superrag" ] | Omit = omit ,
826872 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
@@ -844,6 +890,9 @@ async def batch_add(
844890 containerized by. This can be an ID for your user, a project ID, or any other
845891 identifier you wish to use to group documents.
846892
893+ filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
894+ by supermemoryfs to map documents to filesystem paths.
895+
847896 metadata: Optional metadata for the document. This is used to store additional information
848897 about the document. You can use this to store any additional information you
849898 need about the document. Metadata can be filtered through. Keys must be strings
@@ -869,6 +918,7 @@ async def batch_add(
869918 "container_tag" : container_tag ,
870919 "container_tags" : container_tags ,
871920 "content" : content ,
921+ "filepath" : filepath ,
872922 "metadata" : metadata ,
873923 "task_type" : task_type ,
874924 },
@@ -884,6 +934,7 @@ async def delete_bulk(
884934 self ,
885935 * ,
886936 container_tags : SequenceNotStr [str ] | Omit = omit ,
937+ filepath : str | Omit = omit ,
887938 ids : SequenceNotStr [str ] | Omit = omit ,
888939 # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
889940 # The extra values given here take precedence over values defined on the client or passed to this method.
@@ -898,6 +949,9 @@ async def delete_bulk(
898949 Args:
899950 container_tags: Array of container tags - all documents in these containers will be deleted
900951
952+ filepath: Delete documents matching this filepath. Exact match for full paths, prefix
953+ match if ending with /
954+
901955 ids: Array of document IDs to delete (max 100 at once)
902956
903957 extra_headers: Send extra headers
@@ -913,6 +967,7 @@ async def delete_bulk(
913967 body = await async_maybe_transform (
914968 {
915969 "container_tags" : container_tags ,
970+ "filepath" : filepath ,
916971 "ids" : ids ,
917972 },
918973 document_delete_bulk_params .DocumentDeleteBulkParams ,
@@ -981,6 +1036,7 @@ async def upload_file(
9811036 file : FileTypes ,
9821037 container_tag : str | Omit = omit ,
9831038 container_tags : str | Omit = omit ,
1039+ filepath : str | Omit = omit ,
9841040 file_type : str | Omit = omit ,
9851041 metadata : str | Omit = omit ,
9861042 mime_type : str | Omit = omit ,
@@ -1005,6 +1061,9 @@ async def upload_file(
10051061 '["user_123", "project_123"]') or a single string (e.g., 'user_123'). Single
10061062 strings will be automatically converted to an array.
10071063
1064+ filepath: Optional file path for the uploaded file (e.g., '/documents/reports/file.pdf').
1065+ Used by supermemoryfs to map documents to filesystem paths.
1066+
10081067 file_type:
10091068 Optional file type override to force specific processing behavior. Valid values:
10101069 text, pdf, tweet, google_doc, google_slide, google_sheet, image, video,
@@ -1037,6 +1096,7 @@ async def upload_file(
10371096 "file" : file ,
10381097 "container_tag" : container_tag ,
10391098 "container_tags" : container_tags ,
1099+ "filepath" : filepath ,
10401100 "file_type" : file_type ,
10411101 "metadata" : metadata ,
10421102 "mime_type" : mime_type ,
0 commit comments