From b0f57a1c308493045fcf473e6cfa41ffd295e44a Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 18 Mar 2026 17:23:04 +0000 Subject: [PATCH 1/2] feat(api): api update --- .stats.yml | 4 +-- .../types/document_batch_add_response.py | 27 ++++++++++++++----- 2 files changed, 22 insertions(+), 9 deletions(-) diff --git a/.stats.yml b/.stats.yml index 8e9df32..5bebbfc 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 26 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-b40318167017a9b927f3b415832f84c6b04e63a758b14325294ef48eb3f03440.yml -openapi_spec_hash: f886839ae51ba11dac4601aeb3881155 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc%2Fsupermemory-new-8a2f638d23709e5ca31c359b3b82ac806c4f2dbb238ca28ee2afed599b3f7be3.yml +openapi_spec_hash: 87a76bf487509cec077df5d5679a03de config_hash: f3eb5ca71172780678106f6d46f15dda diff --git a/src/supermemory/types/document_batch_add_response.py b/src/supermemory/types/document_batch_add_response.py index f5a3bda..36eab60 100644 --- a/src/supermemory/types/document_batch_add_response.py +++ b/src/supermemory/types/document_batch_add_response.py @@ -1,19 +1,32 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. -from typing import List -from typing_extensions import TypeAlias +from typing import List, Optional from .._models import BaseModel -__all__ = ["DocumentBatchAddResponse", "DocumentBatchAddResponseItem"] +__all__ = ["DocumentBatchAddResponse", "Result"] -class DocumentBatchAddResponseItem(BaseModel): +class Result(BaseModel): id: str - """Unique identifier of the document""" + """Unique identifier of the document (empty string for failed items)""" status: str - """Status of the document""" + """Status of the document (e.g. 'done', 'queued', 'error')""" + details: Optional[str] = None + """Additional error details when status is 'error'""" -DocumentBatchAddResponse: TypeAlias = List[DocumentBatchAddResponseItem] + error: Optional[str] = None + """Error message when status is 'error'""" + + +class DocumentBatchAddResponse(BaseModel): + failed: float + """Count of documents that failed to add""" + + results: List[Result] + """Array of results for each document in the batch""" + + success: float + """Count of documents successfully added""" From b5f28ff88015b471eb114e74da2fc1ba85fb2711 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Wed, 18 Mar 2026 17:23:27 +0000 Subject: [PATCH 2/2] release: 3.30.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 8 ++++++++ pyproject.toml | 2 +- src/supermemory/_version.py | 2 +- 4 files changed, 11 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 271ea08..1f11f5b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "3.29.1" + ".": "3.30.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 7638617..ed41806 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 3.30.0 (2026-03-18) + +Full Changelog: [v3.29.1...v3.30.0](https://github.com/supermemoryai/python-sdk/compare/v3.29.1...v3.30.0) + +### Features + +* **api:** api update ([b0f57a1](https://github.com/supermemoryai/python-sdk/commit/b0f57a1c308493045fcf473e6cfa41ffd295e44a)) + ## 3.29.1 (2026-03-17) Full Changelog: [v3.29.0...v3.29.1](https://github.com/supermemoryai/python-sdk/compare/v3.29.0...v3.29.1) diff --git a/pyproject.toml b/pyproject.toml index e8ec4c1..dfa2bf6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [project] name = "supermemory" -version = "3.29.1" +version = "3.30.0" description = "The official Python library for the supermemory API" dynamic = ["readme"] license = "Apache-2.0" diff --git a/src/supermemory/_version.py b/src/supermemory/_version.py index a010e68..4ebab2f 100644 --- a/src/supermemory/_version.py +++ b/src/supermemory/_version.py @@ -1,4 +1,4 @@ # File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. __title__ = "supermemory" -__version__ = "3.29.1" # x-release-please-version +__version__ = "3.30.0" # x-release-please-version