@@ -194,6 +194,8 @@ export namespace DocumentListResponse {
194194 */
195195 customId : string | null ;
196196
197+ filepath : string | null ;
198+
197199 /**
198200 * Optional metadata for the document. This is used to store additional information
199201 * about the document. You can use this to store any additional information you
@@ -394,6 +396,8 @@ export interface DocumentGetResponse {
394396 */
395397 customId : string | null ;
396398
399+ filepath : string | null ;
400+
397401 /**
398402 * Optional metadata for the document. This is used to store additional information
399403 * about the document. You can use this to store any additional information you
@@ -600,6 +604,12 @@ export interface DocumentUpdateParams {
600604 */
601605 customId ?: string ;
602606
607+ /**
608+ * Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
609+ * by supermemoryfs to map documents to filesystem paths.
610+ */
611+ filepath ?: string ;
612+
603613 /**
604614 * Optional metadata for the document. This is used to store additional information
605615 * about the document. You can use this to store any additional information you
@@ -624,6 +634,12 @@ export interface DocumentListParams {
624634 */
625635 containerTags ?: Array < string > ;
626636
637+ /**
638+ * Filter documents by filepath. Exact match for full paths, prefix match if ending
639+ * with /
640+ */
641+ filepath ?: string ;
642+
627643 /**
628644 * Optional filters to apply to the search. Can be a JSON string or Query object.
629645 */
@@ -4090,6 +4106,12 @@ export interface DocumentAddParams {
40904106 */
40914107 entityContext ?: string ;
40924108
4109+ /**
4110+ * Optional file path for the document. Used by supermemoryfs to store the full
4111+ * path of the file.
4112+ */
4113+ filepath ?: string ;
4114+
40934115 /**
40944116 * Optional metadata for the document.
40954117 */
@@ -4121,6 +4143,12 @@ export interface DocumentBatchAddParams {
41214143
41224144 content ?: null ;
41234145
4146+ /**
4147+ * Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
4148+ * by supermemoryfs to map documents to filesystem paths.
4149+ */
4150+ filepath ?: string ;
4151+
41244152 /**
41254153 * Optional metadata for the document. This is used to store additional information
41264154 * about the document. You can use this to store any additional information you
@@ -4171,6 +4199,12 @@ export namespace DocumentBatchAddParams {
41714199 */
41724200 customId ?: string ;
41734201
4202+ /**
4203+ * Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
4204+ * by supermemoryfs to map documents to filesystem paths.
4205+ */
4206+ filepath ?: string ;
4207+
41744208 /**
41754209 * Optional metadata for the document. This is used to store additional information
41764210 * about the document. You can use this to store any additional information you
@@ -4195,6 +4229,12 @@ export interface DocumentDeleteBulkParams {
41954229 */
41964230 containerTags ?: Array < string > ;
41974231
4232+ /**
4233+ * Delete documents matching this filepath. Exact match for full paths, prefix
4234+ * match if ending with /
4235+ */
4236+ filepath ?: string ;
4237+
41984238 /**
41994239 * Array of document IDs to delete (max 100 at once)
42004240 */
@@ -4219,6 +4259,12 @@ export interface DocumentUploadFileParams {
42194259 */
42204260 containerTags ?: string ;
42214261
4262+ /**
4263+ * Optional file path for the uploaded file (e.g., '/documents/reports/file.pdf').
4264+ * Used by supermemoryfs to map documents to filesystem paths.
4265+ */
4266+ filepath ?: string ;
4267+
42224268 /**
42234269 * Optional file type override to force specific processing behavior. Valid values:
42244270 * text, pdf, tweet, google_doc, google_slide, google_sheet, image, video,
0 commit comments