Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "3.29.1"
".": "3.30.0"
}
4 changes: 2 additions & 2 deletions .stats.yml
Original file line number Diff line number Diff line change
@@ -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
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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)
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
2 changes: 1 addition & 1 deletion src/supermemory/_version.py
Original file line number Diff line number Diff line change
@@ -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
27 changes: 20 additions & 7 deletions src/supermemory/types/document_batch_add_response.py
Original file line number Diff line number Diff line change
@@ -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"""