supermemory 3.58.0__tar.gz → 3.60.0__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (132) hide show
  1. supermemory-3.60.0/.release-please-manifest.json +3 -0
  2. {supermemory-3.58.0 → supermemory-3.60.0}/CHANGELOG.md +16 -0
  3. {supermemory-3.58.0 → supermemory-3.60.0}/PKG-INFO +1 -1
  4. {supermemory-3.58.0 → supermemory-3.60.0}/api.md +1 -1
  5. {supermemory-3.58.0 → supermemory-3.60.0}/pyproject.toml +1 -1
  6. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_client.py +16 -0
  7. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_version.py +1 -1
  8. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/resources/documents.py +133 -4
  9. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/__init__.py +1 -0
  10. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/client_add_params.py +9 -0
  11. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_add_params.py +9 -0
  12. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_batch_add_params.py +20 -0
  13. supermemory-3.60.0/src/supermemory/types/document_list_processing_params.py +27 -0
  14. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_list_processing_response.py +25 -1
  15. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_update_params.py +10 -0
  16. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/test_client.py +2 -0
  17. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/test_documents.py +30 -0
  18. supermemory-3.58.0/.release-please-manifest.json +0 -3
  19. {supermemory-3.58.0 → supermemory-3.60.0}/.gitignore +0 -0
  20. {supermemory-3.58.0 → supermemory-3.60.0}/CONTRIBUTING.md +0 -0
  21. {supermemory-3.58.0 → supermemory-3.60.0}/LICENSE +0 -0
  22. {supermemory-3.58.0 → supermemory-3.60.0}/README.md +0 -0
  23. {supermemory-3.58.0 → supermemory-3.60.0}/SECURITY.md +0 -0
  24. {supermemory-3.58.0 → supermemory-3.60.0}/bin/check-release-environment +0 -0
  25. {supermemory-3.58.0 → supermemory-3.60.0}/bin/publish-pypi +0 -0
  26. {supermemory-3.58.0 → supermemory-3.60.0}/examples/.keep +0 -0
  27. {supermemory-3.58.0 → supermemory-3.60.0}/noxfile.py +0 -0
  28. {supermemory-3.58.0 → supermemory-3.60.0}/release-please-config.json +0 -0
  29. {supermemory-3.58.0 → supermemory-3.60.0}/requirements-dev.lock +0 -0
  30. {supermemory-3.58.0 → supermemory-3.60.0}/requirements.lock +0 -0
  31. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/__init__.py +0 -0
  32. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_base_client.py +0 -0
  33. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_compat.py +0 -0
  34. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_constants.py +0 -0
  35. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_exceptions.py +0 -0
  36. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_files.py +0 -0
  37. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_models.py +0 -0
  38. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_qs.py +0 -0
  39. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_resource.py +0 -0
  40. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_response.py +0 -0
  41. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_streaming.py +0 -0
  42. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_types.py +0 -0
  43. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/__init__.py +0 -0
  44. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_compat.py +0 -0
  45. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_datetime_parse.py +0 -0
  46. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_json.py +0 -0
  47. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_logs.py +0 -0
  48. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_path.py +0 -0
  49. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_proxy.py +0 -0
  50. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_reflection.py +0 -0
  51. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_resources_proxy.py +0 -0
  52. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_streams.py +0 -0
  53. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_sync.py +0 -0
  54. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_transform.py +0 -0
  55. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_typing.py +0 -0
  56. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/_utils/_utils.py +0 -0
  57. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/lib/.keep +0 -0
  58. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/py.typed +0 -0
  59. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/resources/__init__.py +0 -0
  60. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/resources/connections.py +0 -0
  61. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/resources/memories.py +0 -0
  62. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/resources/search.py +0 -0
  63. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/resources/settings.py +0 -0
  64. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/add_response.py +0 -0
  65. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/client_profile_params.py +0 -0
  66. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_configure_params.py +0 -0
  67. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_configure_response.py +0 -0
  68. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_create_params.py +0 -0
  69. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_create_response.py +0 -0
  70. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_delete_by_id_params.py +0 -0
  71. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_delete_by_id_response.py +0 -0
  72. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_delete_by_provider_params.py +0 -0
  73. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_delete_by_provider_response.py +0 -0
  74. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_get_by_id_response.py +0 -0
  75. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_get_by_tag_params.py +0 -0
  76. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_get_by_tag_response.py +0 -0
  77. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_import_params.py +0 -0
  78. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_import_response.py +0 -0
  79. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_list_documents_params.py +0 -0
  80. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_list_documents_response.py +0 -0
  81. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_list_params.py +0 -0
  82. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_list_response.py +0 -0
  83. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_resources_params.py +0 -0
  84. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/connection_resources_response.py +0 -0
  85. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_add_response.py +0 -0
  86. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_batch_add_response.py +0 -0
  87. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_delete_bulk_params.py +0 -0
  88. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_delete_bulk_response.py +0 -0
  89. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_get_response.py +0 -0
  90. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_list_params.py +0 -0
  91. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_list_response.py +0 -0
  92. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_update_response.py +0 -0
  93. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_upload_file_params.py +0 -0
  94. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/document_upload_file_response.py +0 -0
  95. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/memory_forget_params.py +0 -0
  96. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/memory_forget_response.py +0 -0
  97. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/memory_update_memory_params.py +0 -0
  98. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/memory_update_memory_response.py +0 -0
  99. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/profile_response.py +0 -0
  100. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/search_documents_params.py +0 -0
  101. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/search_documents_response.py +0 -0
  102. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/search_execute_params.py +0 -0
  103. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/search_execute_response.py +0 -0
  104. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/search_memories_params.py +0 -0
  105. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/search_memories_response.py +0 -0
  106. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/setting_get_response.py +0 -0
  107. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/setting_update_params.py +0 -0
  108. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory/types/setting_update_response.py +0 -0
  109. {supermemory-3.58.0 → supermemory-3.60.0}/src/supermemory_new/lib/.keep +0 -0
  110. {supermemory-3.58.0 → supermemory-3.60.0}/tests/__init__.py +0 -0
  111. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/__init__.py +0 -0
  112. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/test_connections.py +0 -0
  113. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/test_memories.py +0 -0
  114. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/test_search.py +0 -0
  115. {supermemory-3.58.0 → supermemory-3.60.0}/tests/api_resources/test_settings.py +0 -0
  116. {supermemory-3.58.0 → supermemory-3.60.0}/tests/conftest.py +0 -0
  117. {supermemory-3.58.0 → supermemory-3.60.0}/tests/sample_file.txt +0 -0
  118. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_client.py +0 -0
  119. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_extract_files.py +0 -0
  120. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_files.py +0 -0
  121. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_models.py +0 -0
  122. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_qs.py +0 -0
  123. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_required_args.py +0 -0
  124. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_response.py +0 -0
  125. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_streaming.py +0 -0
  126. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_transform.py +0 -0
  127. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_utils/test_datetime_parse.py +0 -0
  128. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_utils/test_json.py +0 -0
  129. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_utils/test_path.py +0 -0
  130. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_utils/test_proxy.py +0 -0
  131. {supermemory-3.58.0 → supermemory-3.60.0}/tests/test_utils/test_typing.py +0 -0
  132. {supermemory-3.58.0 → supermemory-3.60.0}/tests/utils.py +0 -0
@@ -0,0 +1,3 @@
1
+ {
2
+ ".": "3.60.0"
3
+ }
@@ -1,5 +1,21 @@
1
1
  # Changelog
2
2
 
3
+ ## 3.60.0 (2026-09-01)
4
+
5
+ Full Changelog: [v3.59.0...v3.60.0](https://github.com/supermemoryai/python-sdk/compare/v3.59.0...v3.60.0)
6
+
7
+ ### Features
8
+
9
+ * **api:** api update ([8531a88](https://github.com/supermemoryai/python-sdk/commit/8531a888ad97a9279708ee9bf0bf370aa8198f2f))
10
+
11
+ ## 3.59.0 (2026-08-14)
12
+
13
+ Full Changelog: [v3.58.0...v3.59.0](https://github.com/supermemoryai/python-sdk/compare/v3.58.0...v3.59.0)
14
+
15
+ ### Features
16
+
17
+ * **api:** api update ([556b996](https://github.com/supermemoryai/python-sdk/commit/556b996208d3408931197190237cc571eb8b1ded))
18
+
3
19
  ## 3.58.0 (2026-08-14)
4
20
 
5
21
  Full Changelog: [v3.57.0...v3.58.0](https://github.com/supermemoryai/python-sdk/compare/v3.57.0...v3.58.0)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: supermemory
3
- Version: 3.58.0
3
+ Version: 3.60.0
4
4
  Summary: The official Python library for the supermemory API
5
5
  Project-URL: Homepage, https://github.com/supermemoryai/python-sdk
6
6
  Project-URL: Repository, https://github.com/supermemoryai/python-sdk
@@ -50,7 +50,7 @@ Methods:
50
50
  - <code title="post /v3/documents/batch">client.documents.<a href="./src/supermemory/resources/documents.py">batch_add</a>(\*\*<a href="src/supermemory/types/document_batch_add_params.py">params</a>) -> <a href="./src/supermemory/types/document_batch_add_response.py">DocumentBatchAddResponse</a></code>
51
51
  - <code title="delete /v3/documents/bulk">client.documents.<a href="./src/supermemory/resources/documents.py">delete_bulk</a>(\*\*<a href="src/supermemory/types/document_delete_bulk_params.py">params</a>) -> <a href="./src/supermemory/types/document_delete_bulk_response.py">DocumentDeleteBulkResponse</a></code>
52
52
  - <code title="get /v3/documents/{id}">client.documents.<a href="./src/supermemory/resources/documents.py">get</a>(id) -> <a href="./src/supermemory/types/document_get_response.py">DocumentGetResponse</a></code>
53
- - <code title="get /v3/documents/processing">client.documents.<a href="./src/supermemory/resources/documents.py">list_processing</a>() -> <a href="./src/supermemory/types/document_list_processing_response.py">DocumentListProcessingResponse</a></code>
53
+ - <code title="get /v3/documents/processing">client.documents.<a href="./src/supermemory/resources/documents.py">list_processing</a>(\*\*<a href="src/supermemory/types/document_list_processing_params.py">params</a>) -> <a href="./src/supermemory/types/document_list_processing_response.py">DocumentListProcessingResponse</a></code>
54
54
  - <code title="post /v3/documents/file">client.documents.<a href="./src/supermemory/resources/documents.py">upload_file</a>(\*\*<a href="src/supermemory/types/document_upload_file_params.py">params</a>) -> <a href="./src/supermemory/types/document_upload_file_response.py">DocumentUploadFileResponse</a></code>
55
55
 
56
56
  # Search
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "supermemory"
3
- version = "3.58.0"
3
+ version = "3.60.0"
4
4
  description = "The official Python library for the supermemory API"
5
5
  dynamic = ["readme"]
6
6
  license = "Apache-2.0"
@@ -254,6 +254,7 @@ class Supermemory(SyncAPIClient):
254
254
  container_tag: str | Omit = omit,
255
255
  container_tags: SequenceNotStr[str] | Omit = omit,
256
256
  custom_id: str | Omit = omit,
257
+ document_date: str | Omit = omit,
257
258
  dreaming: Literal["instant", "dynamic"] | Omit = omit,
258
259
  entity_context: str | Omit = omit,
259
260
  filepath: str | Omit = omit,
@@ -280,6 +281,12 @@ class Supermemory(SyncAPIClient):
280
281
  custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
281
282
  hyphens, underscores, and dots only.
282
283
 
284
+ document_date: When this document's content is from, as opposed to when it was uploaded.
285
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
286
+ relative dates against this instead of the ingestion time, and documents in a
287
+ batch are processed oldest-first so newer facts correctly supersede older ones.
288
+ Set this whenever you backfill historical content.
289
+
283
290
  dreaming: Processing mode. "dynamic" (default) groups related documents together so
284
291
  memories form from coherent, logical units rather than one isolated entry at a
285
292
  time. "instant" processes each document on its own right away, and bills one
@@ -315,6 +322,7 @@ class Supermemory(SyncAPIClient):
315
322
  "container_tag": container_tag,
316
323
  "container_tags": container_tags,
317
324
  "custom_id": custom_id,
325
+ "document_date": document_date,
318
326
  "dreaming": dreaming,
319
327
  "entity_context": entity_context,
320
328
  "filepath": filepath,
@@ -611,6 +619,7 @@ class AsyncSupermemory(AsyncAPIClient):
611
619
  container_tag: str | Omit = omit,
612
620
  container_tags: SequenceNotStr[str] | Omit = omit,
613
621
  custom_id: str | Omit = omit,
622
+ document_date: str | Omit = omit,
614
623
  dreaming: Literal["instant", "dynamic"] | Omit = omit,
615
624
  entity_context: str | Omit = omit,
616
625
  filepath: str | Omit = omit,
@@ -637,6 +646,12 @@ class AsyncSupermemory(AsyncAPIClient):
637
646
  custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
638
647
  hyphens, underscores, and dots only.
639
648
 
649
+ document_date: When this document's content is from, as opposed to when it was uploaded.
650
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
651
+ relative dates against this instead of the ingestion time, and documents in a
652
+ batch are processed oldest-first so newer facts correctly supersede older ones.
653
+ Set this whenever you backfill historical content.
654
+
640
655
  dreaming: Processing mode. "dynamic" (default) groups related documents together so
641
656
  memories form from coherent, logical units rather than one isolated entry at a
642
657
  time. "instant" processes each document on its own right away, and bills one
@@ -672,6 +687,7 @@ class AsyncSupermemory(AsyncAPIClient):
672
687
  "container_tag": container_tag,
673
688
  "container_tags": container_tags,
674
689
  "custom_id": custom_id,
690
+ "document_date": document_date,
675
691
  "dreaming": dreaming,
676
692
  "entity_context": entity_context,
677
693
  "filepath": filepath,
@@ -1,4 +1,4 @@
1
1
  # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
 
3
3
  __title__ = "supermemory"
4
- __version__ = "3.58.0" # x-release-please-version
4
+ __version__ = "3.60.0" # x-release-please-version
@@ -14,6 +14,7 @@ from ..types import (
14
14
  document_batch_add_params,
15
15
  document_delete_bulk_params,
16
16
  document_upload_file_params,
17
+ document_list_processing_params,
17
18
  )
18
19
  from .._files import deepcopy_with_paths
19
20
  from .._types import Body, Omit, Query, Headers, NoneType, NotGiven, FileTypes, SequenceNotStr, omit, not_given
@@ -67,6 +68,7 @@ class DocumentsResource(SyncAPIResource):
67
68
  container_tags: SequenceNotStr[str] | Omit = omit,
68
69
  content: str | Omit = omit,
69
70
  custom_id: str | Omit = omit,
71
+ document_date: str | Omit = omit,
70
72
  filepath: str | Omit = omit,
71
73
  filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
72
74
  metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
@@ -102,6 +104,13 @@ class DocumentsResource(SyncAPIResource):
102
104
  custom_id: Optional custom ID of the document. This could be an ID from your database that
103
105
  will uniquely identify this document.
104
106
 
107
+ document_date: When this document's content is from, as opposed to when it was uploaded.
108
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
109
+ relative dates ('yesterday', 'last quarter') against this instead of the
110
+ ingestion time, and documents in a batch are processed oldest-first so newer
111
+ facts correctly supersede older ones. Set this whenever you backfill historical
112
+ content.
113
+
105
114
  filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
106
115
  by supermemoryfs to map documents to filesystem paths.
107
116
 
@@ -137,6 +146,7 @@ class DocumentsResource(SyncAPIResource):
137
146
  "container_tags": container_tags,
138
147
  "content": content,
139
148
  "custom_id": custom_id,
149
+ "document_date": document_date,
140
150
  "filepath": filepath,
141
151
  "filter_by_metadata": filter_by_metadata,
142
152
  "metadata": metadata,
@@ -262,6 +272,7 @@ class DocumentsResource(SyncAPIResource):
262
272
  container_tag: str | Omit = omit,
263
273
  container_tags: SequenceNotStr[str] | Omit = omit,
264
274
  custom_id: str | Omit = omit,
275
+ document_date: str | Omit = omit,
265
276
  dreaming: Literal["instant", "dynamic"] | Omit = omit,
266
277
  entity_context: str | Omit = omit,
267
278
  filepath: str | Omit = omit,
@@ -288,6 +299,12 @@ class DocumentsResource(SyncAPIResource):
288
299
  custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
289
300
  hyphens, underscores, and dots only.
290
301
 
302
+ document_date: When this document's content is from, as opposed to when it was uploaded.
303
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
304
+ relative dates against this instead of the ingestion time, and documents in a
305
+ batch are processed oldest-first so newer facts correctly supersede older ones.
306
+ Set this whenever you backfill historical content.
307
+
291
308
  dreaming: Processing mode. "dynamic" (default) groups related documents together so
292
309
  memories form from coherent, logical units rather than one isolated entry at a
293
310
  time. "instant" processes each document on its own right away, and bills one
@@ -323,6 +340,7 @@ class DocumentsResource(SyncAPIResource):
323
340
  "container_tag": container_tag,
324
341
  "container_tags": container_tags,
325
342
  "custom_id": custom_id,
343
+ "document_date": document_date,
326
344
  "dreaming": dreaming,
327
345
  "entity_context": entity_context,
328
346
  "filepath": filepath,
@@ -345,6 +363,7 @@ class DocumentsResource(SyncAPIResource):
345
363
  container_tag: str | Omit = omit,
346
364
  container_tags: SequenceNotStr[str] | Omit = omit,
347
365
  content: None | Omit = omit,
366
+ document_date: str | Omit = omit,
348
367
  dreaming: Literal["instant", "dynamic"] | Omit = omit,
349
368
  entity_context: str | Omit = omit,
350
369
  filepath: str | Omit = omit,
@@ -372,6 +391,13 @@ class DocumentsResource(SyncAPIResource):
372
391
  containerized by. This can be an ID for your user, a project ID, or any other
373
392
  identifier you wish to use to group documents.
374
393
 
394
+ document_date: When this document's content is from, as opposed to when it was uploaded.
395
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
396
+ relative dates ('yesterday', 'last quarter') against this instead of the
397
+ ingestion time, and documents in a batch are processed oldest-first so newer
398
+ facts correctly supersede older ones. Set this whenever you backfill historical
399
+ content.
400
+
375
401
  dreaming: Processing mode. "dynamic" (default) groups related documents together so
376
402
  memories form from coherent, logical units rather than one isolated entry at a
377
403
  time. "instant" processes each document on its own right away, and bills one
@@ -413,6 +439,7 @@ class DocumentsResource(SyncAPIResource):
413
439
  "container_tag": container_tag,
414
440
  "container_tags": container_tags,
415
441
  "content": content,
442
+ "document_date": document_date,
416
443
  "dreaming": dreaming,
417
444
  "entity_context": entity_context,
418
445
  "filepath": filepath,
@@ -512,6 +539,10 @@ class DocumentsResource(SyncAPIResource):
512
539
  def list_processing(
513
540
  self,
514
541
  *,
542
+ container_tags: str | Omit = omit,
543
+ limit: Union[str, float] | Omit = omit,
544
+ page: Union[str, float] | Omit = omit,
545
+ view: Literal["active", "all"] | Omit = omit,
515
546
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
516
547
  # The extra values given here take precedence over values defined on the client or passed to this method.
517
548
  extra_headers: Headers | None = None,
@@ -519,11 +550,45 @@ class DocumentsResource(SyncAPIResource):
519
550
  extra_body: Body | None = None,
520
551
  timeout: float | httpx.Timeout | None | NotGiven = not_given,
521
552
  ) -> DocumentListProcessingResponse:
522
- """Get documents that are currently being processed"""
553
+ """Get documents that are currently being processed.
554
+
555
+ Default `view=active` is the
556
+ live in-flight queue. `view=all` also includes failed and stuck documents.
557
+
558
+ Args:
559
+ container_tags: Comma-separated container tags to filter by
560
+
561
+ limit: Number of items per page. Used with `view=all`.
562
+
563
+ page: Page number to fetch. Used with `view=all`.
564
+
565
+ view: `active` returns in-flight documents updated in the last 4 hours. `all` also
566
+ includes failed and stuck documents.
567
+
568
+ extra_headers: Send extra headers
569
+
570
+ extra_query: Add additional query parameters to the request
571
+
572
+ extra_body: Add additional JSON properties to the request
573
+
574
+ timeout: Override the client-level default timeout for this request, in seconds
575
+ """
523
576
  return self._get(
524
577
  "/v3/documents/processing",
525
578
  options=make_request_options(
526
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
579
+ extra_headers=extra_headers,
580
+ extra_query=extra_query,
581
+ extra_body=extra_body,
582
+ timeout=timeout,
583
+ query=maybe_transform(
584
+ {
585
+ "container_tags": container_tags,
586
+ "limit": limit,
587
+ "page": page,
588
+ "view": view,
589
+ },
590
+ document_list_processing_params.DocumentListProcessingParams,
591
+ ),
527
592
  ),
528
593
  cast_to=DocumentListProcessingResponse,
529
594
  )
@@ -670,6 +735,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
670
735
  container_tags: SequenceNotStr[str] | Omit = omit,
671
736
  content: str | Omit = omit,
672
737
  custom_id: str | Omit = omit,
738
+ document_date: str | Omit = omit,
673
739
  filepath: str | Omit = omit,
674
740
  filter_by_metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
675
741
  metadata: Dict[str, Union[str, float, bool, SequenceNotStr[str]]] | Omit = omit,
@@ -705,6 +771,13 @@ class AsyncDocumentsResource(AsyncAPIResource):
705
771
  custom_id: Optional custom ID of the document. This could be an ID from your database that
706
772
  will uniquely identify this document.
707
773
 
774
+ document_date: When this document's content is from, as opposed to when it was uploaded.
775
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
776
+ relative dates ('yesterday', 'last quarter') against this instead of the
777
+ ingestion time, and documents in a batch are processed oldest-first so newer
778
+ facts correctly supersede older ones. Set this whenever you backfill historical
779
+ content.
780
+
708
781
  filepath: Optional file path for the document (e.g., '/documents/reports/file.pdf'). Used
709
782
  by supermemoryfs to map documents to filesystem paths.
710
783
 
@@ -740,6 +813,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
740
813
  "container_tags": container_tags,
741
814
  "content": content,
742
815
  "custom_id": custom_id,
816
+ "document_date": document_date,
743
817
  "filepath": filepath,
744
818
  "filter_by_metadata": filter_by_metadata,
745
819
  "metadata": metadata,
@@ -865,6 +939,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
865
939
  container_tag: str | Omit = omit,
866
940
  container_tags: SequenceNotStr[str] | Omit = omit,
867
941
  custom_id: str | Omit = omit,
942
+ document_date: str | Omit = omit,
868
943
  dreaming: Literal["instant", "dynamic"] | Omit = omit,
869
944
  entity_context: str | Omit = omit,
870
945
  filepath: str | Omit = omit,
@@ -891,6 +966,12 @@ class AsyncDocumentsResource(AsyncAPIResource):
891
966
  custom_id: Optional custom ID of the document. Max 100 characters, alphanumeric with
892
967
  hyphens, underscores, and dots only.
893
968
 
969
+ document_date: When this document's content is from, as opposed to when it was uploaded.
970
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
971
+ relative dates against this instead of the ingestion time, and documents in a
972
+ batch are processed oldest-first so newer facts correctly supersede older ones.
973
+ Set this whenever you backfill historical content.
974
+
894
975
  dreaming: Processing mode. "dynamic" (default) groups related documents together so
895
976
  memories form from coherent, logical units rather than one isolated entry at a
896
977
  time. "instant" processes each document on its own right away, and bills one
@@ -926,6 +1007,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
926
1007
  "container_tag": container_tag,
927
1008
  "container_tags": container_tags,
928
1009
  "custom_id": custom_id,
1010
+ "document_date": document_date,
929
1011
  "dreaming": dreaming,
930
1012
  "entity_context": entity_context,
931
1013
  "filepath": filepath,
@@ -948,6 +1030,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
948
1030
  container_tag: str | Omit = omit,
949
1031
  container_tags: SequenceNotStr[str] | Omit = omit,
950
1032
  content: None | Omit = omit,
1033
+ document_date: str | Omit = omit,
951
1034
  dreaming: Literal["instant", "dynamic"] | Omit = omit,
952
1035
  entity_context: str | Omit = omit,
953
1036
  filepath: str | Omit = omit,
@@ -975,6 +1058,13 @@ class AsyncDocumentsResource(AsyncAPIResource):
975
1058
  containerized by. This can be an ID for your user, a project ID, or any other
976
1059
  identifier you wish to use to group documents.
977
1060
 
1061
+ document_date: When this document's content is from, as opposed to when it was uploaded.
1062
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
1063
+ relative dates ('yesterday', 'last quarter') against this instead of the
1064
+ ingestion time, and documents in a batch are processed oldest-first so newer
1065
+ facts correctly supersede older ones. Set this whenever you backfill historical
1066
+ content.
1067
+
978
1068
  dreaming: Processing mode. "dynamic" (default) groups related documents together so
979
1069
  memories form from coherent, logical units rather than one isolated entry at a
980
1070
  time. "instant" processes each document on its own right away, and bills one
@@ -1016,6 +1106,7 @@ class AsyncDocumentsResource(AsyncAPIResource):
1016
1106
  "container_tag": container_tag,
1017
1107
  "container_tags": container_tags,
1018
1108
  "content": content,
1109
+ "document_date": document_date,
1019
1110
  "dreaming": dreaming,
1020
1111
  "entity_context": entity_context,
1021
1112
  "filepath": filepath,
@@ -1115,6 +1206,10 @@ class AsyncDocumentsResource(AsyncAPIResource):
1115
1206
  async def list_processing(
1116
1207
  self,
1117
1208
  *,
1209
+ container_tags: str | Omit = omit,
1210
+ limit: Union[str, float] | Omit = omit,
1211
+ page: Union[str, float] | Omit = omit,
1212
+ view: Literal["active", "all"] | Omit = omit,
1118
1213
  # Use the following arguments if you need to pass additional parameters to the API that aren't available via kwargs.
1119
1214
  # The extra values given here take precedence over values defined on the client or passed to this method.
1120
1215
  extra_headers: Headers | None = None,
@@ -1122,11 +1217,45 @@ class AsyncDocumentsResource(AsyncAPIResource):
1122
1217
  extra_body: Body | None = None,
1123
1218
  timeout: float | httpx.Timeout | None | NotGiven = not_given,
1124
1219
  ) -> DocumentListProcessingResponse:
1125
- """Get documents that are currently being processed"""
1220
+ """Get documents that are currently being processed.
1221
+
1222
+ Default `view=active` is the
1223
+ live in-flight queue. `view=all` also includes failed and stuck documents.
1224
+
1225
+ Args:
1226
+ container_tags: Comma-separated container tags to filter by
1227
+
1228
+ limit: Number of items per page. Used with `view=all`.
1229
+
1230
+ page: Page number to fetch. Used with `view=all`.
1231
+
1232
+ view: `active` returns in-flight documents updated in the last 4 hours. `all` also
1233
+ includes failed and stuck documents.
1234
+
1235
+ extra_headers: Send extra headers
1236
+
1237
+ extra_query: Add additional query parameters to the request
1238
+
1239
+ extra_body: Add additional JSON properties to the request
1240
+
1241
+ timeout: Override the client-level default timeout for this request, in seconds
1242
+ """
1126
1243
  return await self._get(
1127
1244
  "/v3/documents/processing",
1128
1245
  options=make_request_options(
1129
- extra_headers=extra_headers, extra_query=extra_query, extra_body=extra_body, timeout=timeout
1246
+ extra_headers=extra_headers,
1247
+ extra_query=extra_query,
1248
+ extra_body=extra_body,
1249
+ timeout=timeout,
1250
+ query=await async_maybe_transform(
1251
+ {
1252
+ "container_tags": container_tags,
1253
+ "limit": limit,
1254
+ "page": page,
1255
+ "view": view,
1256
+ },
1257
+ document_list_processing_params.DocumentListProcessingParams,
1258
+ ),
1130
1259
  ),
1131
1260
  cast_to=DocumentListProcessingResponse,
1132
1261
  )
@@ -46,6 +46,7 @@ from .document_upload_file_response import DocumentUploadFileResponse as Documen
46
46
  from .memory_update_memory_response import MemoryUpdateMemoryResponse as MemoryUpdateMemoryResponse
47
47
  from .connection_delete_by_id_params import ConnectionDeleteByIDParams as ConnectionDeleteByIDParams
48
48
  from .connection_get_by_tag_response import ConnectionGetByTagResponse as ConnectionGetByTagResponse
49
+ from .document_list_processing_params import DocumentListProcessingParams as DocumentListProcessingParams
49
50
  from .connection_delete_by_id_response import ConnectionDeleteByIDResponse as ConnectionDeleteByIDResponse
50
51
  from .connection_list_documents_params import ConnectionListDocumentsParams as ConnectionListDocumentsParams
51
52
  from .document_list_processing_response import DocumentListProcessingResponse as DocumentListProcessingResponse
@@ -32,6 +32,15 @@ class ClientAddParams(TypedDict, total=False):
32
32
  Max 100 characters, alphanumeric with hyphens, underscores, and dots only.
33
33
  """
34
34
 
35
+ document_date: Annotated[str, PropertyInfo(alias="documentDate")]
36
+ """When this document's content is from, as opposed to when it was uploaded.
37
+
38
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
39
+ relative dates against this instead of the ingestion time, and documents in a
40
+ batch are processed oldest-first so newer facts correctly supersede older ones.
41
+ Set this whenever you backfill historical content.
42
+ """
43
+
35
44
  dreaming: Literal["instant", "dynamic"]
36
45
  """Processing mode.
37
46
 
@@ -32,6 +32,15 @@ class DocumentAddParams(TypedDict, total=False):
32
32
  Max 100 characters, alphanumeric with hyphens, underscores, and dots only.
33
33
  """
34
34
 
35
+ document_date: Annotated[str, PropertyInfo(alias="documentDate")]
36
+ """When this document's content is from, as opposed to when it was uploaded.
37
+
38
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
39
+ relative dates against this instead of the ingestion time, and documents in a
40
+ batch are processed oldest-first so newer facts correctly supersede older ones.
41
+ Set this whenever you backfill historical content.
42
+ """
43
+
35
44
  dreaming: Literal["instant", "dynamic"]
36
45
  """Processing mode.
37
46
 
@@ -30,6 +30,16 @@ class DocumentBatchAddParams(TypedDict, total=False):
30
30
 
31
31
  content: None
32
32
 
33
+ document_date: Annotated[str, PropertyInfo(alias="documentDate")]
34
+ """When this document's content is from, as opposed to when it was uploaded.
35
+
36
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
37
+ relative dates ('yesterday', 'last quarter') against this instead of the
38
+ ingestion time, and documents in a batch are processed oldest-first so newer
39
+ facts correctly supersede older ones. Set this whenever you backfill historical
40
+ content.
41
+ """
42
+
33
43
  dreaming: Literal["instant", "dynamic"]
34
44
  """Processing mode.
35
45
 
@@ -111,6 +121,16 @@ class DocumentsUnionMember0(TypedDict, total=False):
111
121
  document.
112
122
  """
113
123
 
124
+ document_date: Annotated[str, PropertyInfo(alias="documentDate")]
125
+ """When this document's content is from, as opposed to when it was uploaded.
126
+
127
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
128
+ relative dates ('yesterday', 'last quarter') against this instead of the
129
+ ingestion time, and documents in a batch are processed oldest-first so newer
130
+ facts correctly supersede older ones. Set this whenever you backfill historical
131
+ content.
132
+ """
133
+
114
134
  dreaming: Literal["instant", "dynamic"]
115
135
  """Processing mode.
116
136
 
@@ -0,0 +1,27 @@
1
+ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
+
3
+ from __future__ import annotations
4
+
5
+ from typing import Union
6
+ from typing_extensions import Literal, Annotated, TypedDict
7
+
8
+ from .._utils import PropertyInfo
9
+
10
+ __all__ = ["DocumentListProcessingParams"]
11
+
12
+
13
+ class DocumentListProcessingParams(TypedDict, total=False):
14
+ container_tags: Annotated[str, PropertyInfo(alias="containerTags")]
15
+ """Comma-separated container tags to filter by"""
16
+
17
+ limit: Union[str, float]
18
+ """Number of items per page. Used with `view=all`."""
19
+
20
+ page: Union[str, float]
21
+ """Page number to fetch. Used with `view=all`."""
22
+
23
+ view: Literal["active", "all"]
24
+ """`active` returns in-flight documents updated in the last 4 hours.
25
+
26
+ `all` also includes failed and stuck documents.
27
+ """
@@ -7,7 +7,7 @@ from pydantic import Field as FieldInfo
7
7
 
8
8
  from .._models import BaseModel
9
9
 
10
- __all__ = ["DocumentListProcessingResponse", "Document"]
10
+ __all__ = ["DocumentListProcessingResponse", "Document", "Pagination"]
11
11
 
12
12
 
13
13
  class Document(BaseModel):
@@ -76,6 +76,27 @@ class Document(BaseModel):
76
76
  to use to group documents.
77
77
  """
78
78
 
79
+ error_code: Optional[str] = FieldInfo(alias="errorCode", default=None)
80
+ """Stable error code when processing failed, if available"""
81
+
82
+ error_message: Optional[str] = FieldInfo(alias="errorMessage", default=None)
83
+ """Human-readable processing error, if available"""
84
+
85
+ stuck: Optional[bool] = None
86
+ """True when the document is not done/failed and has not been updated for 4 hours"""
87
+
88
+
89
+ class Pagination(BaseModel):
90
+ """Present when `view=all`"""
91
+
92
+ current_page: float = FieldInfo(alias="currentPage")
93
+
94
+ total_items: float = FieldInfo(alias="totalItems")
95
+
96
+ total_pages: float = FieldInfo(alias="totalPages")
97
+
98
+ limit: Optional[float] = None
99
+
79
100
 
80
101
  class DocumentListProcessingResponse(BaseModel):
81
102
  """List of documents currently being processed"""
@@ -84,3 +105,6 @@ class DocumentListProcessingResponse(BaseModel):
84
105
 
85
106
  total_count: float = FieldInfo(alias="totalCount")
86
107
  """Total number of processing documents"""
108
+
109
+ pagination: Optional[Pagination] = None
110
+ """Present when `view=all`"""
@@ -45,6 +45,16 @@ class DocumentUpdateParams(TypedDict, total=False):
45
45
  document.
46
46
  """
47
47
 
48
+ document_date: Annotated[str, PropertyInfo(alias="documentDate")]
49
+ """When this document's content is from, as opposed to when it was uploaded.
50
+
51
+ Accepts YYYY-MM-DD or a full ISO 8601 timestamp. Memory extraction resolves
52
+ relative dates ('yesterday', 'last quarter') against this instead of the
53
+ ingestion time, and documents in a batch are processed oldest-first so newer
54
+ facts correctly supersede older ones. Set this whenever you backfill historical
55
+ content.
56
+ """
57
+
48
58
  filepath: str
49
59
  """Optional file path for the document (e.g., '/documents/reports/file.pdf').
50
60
 
@@ -33,6 +33,7 @@ class TestClient:
33
33
  container_tag="containerTag",
34
34
  container_tags=["string"],
35
35
  custom_id="customId",
36
+ document_date="documentDate",
36
37
  dreaming="instant",
37
38
  entity_context="entityContext",
38
39
  filepath="filepath",
@@ -148,6 +149,7 @@ class TestAsyncClient:
148
149
  container_tag="containerTag",
149
150
  container_tags=["string"],
150
151
  custom_id="customId",
152
+ document_date="documentDate",
151
153
  dreaming="instant",
152
154
  entity_context="entityContext",
153
155
  filepath="filepath",
@@ -43,6 +43,7 @@ class TestDocuments:
43
43
  container_tags=["_:_k--W2K_1V"],
44
44
  content="Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s.",
45
45
  custom_id="doc-api-rate-limits",
46
+ document_date="2025-03-14",
46
47
  filepath="/documents/reports/file.pdf",
47
48
  filter_by_metadata={
48
49
  "department": "engineering",
@@ -210,6 +211,7 @@ class TestDocuments:
210
211
  container_tag="containerTag",
211
212
  container_tags=["string"],
212
213
  custom_id="customId",
214
+ document_date="documentDate",
213
215
  dreaming="instant",
214
216
  entity_context="entityContext",
215
217
  filepath="filepath",
@@ -267,6 +269,7 @@ class TestDocuments:
267
269
  "container_tag": "user_alex",
268
270
  "container_tags": ["_:_k--W2K_1V"],
269
271
  "custom_id": "doc-api-rate-limits",
272
+ "document_date": "2025-03-14",
270
273
  "dreaming": "instant",
271
274
  "entity_context": "User's name is {XYZ}",
272
275
  "filepath": "/documents/reports/file.pdf",
@@ -284,6 +287,7 @@ class TestDocuments:
284
287
  container_tag="user_alex",
285
288
  container_tags=["_:_k--W2K_1V"],
286
289
  content=None,
290
+ document_date="2025-03-14",
287
291
  dreaming="instant",
288
292
  entity_context="User's name is {XYZ}",
289
293
  filepath="/documents/reports/file.pdf",
@@ -419,6 +423,17 @@ class TestDocuments:
419
423
  document = client.documents.list_processing()
420
424
  assert_matches_type(DocumentListProcessingResponse, document, path=["response"])
421
425
 
426
+ @pytest.mark.skip(reason="Mock server tests are disabled")
427
+ @parametrize
428
+ def test_method_list_processing_with_all_params(self, client: Supermemory) -> None:
429
+ document = client.documents.list_processing(
430
+ container_tags="user_123,sm_project_default",
431
+ limit="50",
432
+ page="1",
433
+ view="all",
434
+ )
435
+ assert_matches_type(DocumentListProcessingResponse, document, path=["response"])
436
+
422
437
  @pytest.mark.skip(reason="Mock server tests are disabled")
423
438
  @parametrize
424
439
  def test_raw_response_list_processing(self, client: Supermemory) -> None:
@@ -518,6 +533,7 @@ class TestAsyncDocuments:
518
533
  container_tags=["_:_k--W2K_1V"],
519
534
  content="Our API rate limits are 100 req/min on free and 1000 on pro. Clients should use exponential backoff on 429s.",
520
535
  custom_id="doc-api-rate-limits",
536
+ document_date="2025-03-14",
521
537
  filepath="/documents/reports/file.pdf",
522
538
  filter_by_metadata={
523
539
  "department": "engineering",
@@ -685,6 +701,7 @@ class TestAsyncDocuments:
685
701
  container_tag="containerTag",
686
702
  container_tags=["string"],
687
703
  custom_id="customId",
704
+ document_date="documentDate",
688
705
  dreaming="instant",
689
706
  entity_context="entityContext",
690
707
  filepath="filepath",
@@ -742,6 +759,7 @@ class TestAsyncDocuments:
742
759
  "container_tag": "user_alex",
743
760
  "container_tags": ["_:_k--W2K_1V"],
744
761
  "custom_id": "doc-api-rate-limits",
762
+ "document_date": "2025-03-14",
745
763
  "dreaming": "instant",
746
764
  "entity_context": "User's name is {XYZ}",
747
765
  "filepath": "/documents/reports/file.pdf",
@@ -759,6 +777,7 @@ class TestAsyncDocuments:
759
777
  container_tag="user_alex",
760
778
  container_tags=["_:_k--W2K_1V"],
761
779
  content=None,
780
+ document_date="2025-03-14",
762
781
  dreaming="instant",
763
782
  entity_context="User's name is {XYZ}",
764
783
  filepath="/documents/reports/file.pdf",
@@ -894,6 +913,17 @@ class TestAsyncDocuments:
894
913
  document = await async_client.documents.list_processing()
895
914
  assert_matches_type(DocumentListProcessingResponse, document, path=["response"])
896
915
 
916
+ @pytest.mark.skip(reason="Mock server tests are disabled")
917
+ @parametrize
918
+ async def test_method_list_processing_with_all_params(self, async_client: AsyncSupermemory) -> None:
919
+ document = await async_client.documents.list_processing(
920
+ container_tags="user_123,sm_project_default",
921
+ limit="50",
922
+ page="1",
923
+ view="all",
924
+ )
925
+ assert_matches_type(DocumentListProcessingResponse, document, path=["response"])
926
+
897
927
  @pytest.mark.skip(reason="Mock server tests are disabled")
898
928
  @parametrize
899
929
  async def test_raw_response_list_processing(self, async_client: AsyncSupermemory) -> None:
@@ -1,3 +0,0 @@
1
- {
2
- ".": "3.58.0"
3
- }
File without changes
File without changes
File without changes
File without changes
File without changes