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.54.0"
".": "3.55.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/supermemory-new-1fb5800f03799e86f90b20b81f24654db100089421c7bc5ad9b6a978fbc2ac7b.yml
openapi_spec_hash: 32480891d93bdc469a2dfa900fd27386
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/supermemory--inc/supermemory-new-c207a10df858199c6d25fe82831d18c2fbe4861495050be62d7d8cef3b918d84.yml
openapi_spec_hash: d26ff44dda96d7aff0801873c1ce9534
config_hash: cde97ef3188581c5f4924c633ec33ddb
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 3.55.0 (2026-07-24)

Full Changelog: [v3.54.0...v3.55.0](https://github.com/supermemoryai/python-sdk/compare/v3.54.0...v3.55.0)

### Features

* **api:** api update ([6dbb312](https://github.com/supermemoryai/python-sdk/commit/6dbb312223bc4ff25ed95dd4fa570a363e9aaff7))

## 3.54.0 (2026-07-23)

Full Changelog: [v3.53.0...v3.54.0](https://github.com/supermemoryai/python-sdk/compare/v3.53.0...v3.54.0)
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.54.0"
version = "3.55.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.54.0" # x-release-please-version
__version__ = "3.55.0" # x-release-please-version
10 changes: 10 additions & 0 deletions src/supermemory/resources/search.py
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ def memories(
q: str,
aggregate: bool | Omit = omit,
container_tag: str | Omit = omit,
container_tags: SequenceNotStr[str] | Omit = omit,
filepath: str | Omit = omit,
filters: search_memories_params.Filters | Omit = omit,
include: search_memories_params.Include | Omit = omit,
Expand Down Expand Up @@ -293,6 +294,9 @@ def memories(
container_tag: Optional tag this search should be containerized by. This can be an ID for your
user, a project ID, or any other identifier you wish to use to filter memories.

container_tags: Optional tags this search should be containerized by. Search is scoped to
memories under these tags.

filepath: Filter search results by filepath. Exact match for full paths, prefix match if
ending with /

Expand Down Expand Up @@ -329,6 +333,7 @@ def memories(
"q": q,
"aggregate": aggregate,
"container_tag": container_tag,
"container_tags": container_tags,
"filepath": filepath,
"filters": filters,
"include": include,
Expand Down Expand Up @@ -587,6 +592,7 @@ async def memories(
q: str,
aggregate: bool | Omit = omit,
container_tag: str | Omit = omit,
container_tags: SequenceNotStr[str] | Omit = omit,
filepath: str | Omit = omit,
filters: search_memories_params.Filters | Omit = omit,
include: search_memories_params.Include | Omit = omit,
Expand Down Expand Up @@ -615,6 +621,9 @@ async def memories(
container_tag: Optional tag this search should be containerized by. This can be an ID for your
user, a project ID, or any other identifier you wish to use to filter memories.

container_tags: Optional tags this search should be containerized by. Search is scoped to
memories under these tags.

filepath: Filter search results by filepath. Exact match for full paths, prefix match if
ending with /

Expand Down Expand Up @@ -651,6 +660,7 @@ async def memories(
"q": q,
"aggregate": aggregate,
"container_tag": container_tag,
"container_tags": container_tags,
"filepath": filepath,
"filters": filters,
"include": include,
Expand Down
7 changes: 7 additions & 0 deletions src/supermemory/types/search_memories_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
from typing import Union, Iterable
from typing_extensions import Literal, Required, Annotated, TypeAlias, TypedDict

from .._types import SequenceNotStr
from .._utils import PropertyInfo

__all__ = [
Expand Down Expand Up @@ -346,6 +347,12 @@ class SearchMemoriesParams(TypedDict, total=False):
to use to filter memories.
"""

container_tags: Annotated[SequenceNotStr[str], PropertyInfo(alias="containerTags")]
"""Optional tags this search should be containerized by.

Search is scoped to memories under these tags.
"""

filepath: str
"""Filter search results by filepath.

Expand Down
2 changes: 2 additions & 0 deletions tests/api_resources/test_search.py
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ def test_method_memories_with_all_params(self, client: Supermemory) -> None:
q="what are the API rate limits",
aggregate=False,
container_tag="user_alex",
container_tags=["user_alex"],
filepath="filepath",
filters={
"or_": [
Expand Down Expand Up @@ -379,6 +380,7 @@ async def test_method_memories_with_all_params(self, async_client: AsyncSupermem
q="what are the API rate limits",
aggregate=False,
container_tag="user_alex",
container_tags=["user_alex"],
filepath="filepath",
filters={
"or_": [
Expand Down