Skip to content

Commit fa6da54

Browse files
authored
Merge pull request #89 from supermemoryai/codegen/regenerate
chore: regenerate SDK (5.0.1)
2 parents 67c1031 + 1152410 commit fa6da54

63 files changed

Lines changed: 3495 additions & 1057 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

‎fern/openapi.json‎

Lines changed: 1246 additions & 641 deletions
Large diffs are not rendered by default.

‎pyproject.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[project]
22
name = "supermemory"
3-
version = "5.0.0"
3+
version = "5.0.1"
44
description = "The official Python library for the Supermemory API"
55
readme = "README.md"
66
license = "Apache-2.0"

‎reference.md‎

Lines changed: 240 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,7 @@ client.profile(
376376
<dl>
377377
<dd>
378378

379-
Browse documents, source chunks, or learned memories through one predictable paginated contract. Choose the collection in the path; the other collection arrays remain empty for a stable response shape.
379+
Browse documents, source chunks, or learned memories through one predictable paginated contract. Choose the collection in the path; the other collection arrays remain empty for a stable response shape. When listing documents, set include.content to include the last published extracted text.
380380
</dd>
381381
</dl>
382382
</dd>
@@ -476,7 +476,7 @@ client.list(
476476
<dl>
477477
<dd>
478478

479-
**include:** `typing.Optional[ListRequestInclude]` — Optional extras, matching search's include
479+
**include:** `typing.Optional[ListRequestInclude]` — Optional extras
480480

481481
</dd>
482482
</dl>
@@ -1797,7 +1797,7 @@ client.memories.forget_matching(
17971797
<dl>
17981798
<dd>
17991799

1800-
Retrieve one memory by ID. Optionally include its version history and connected memories (each list walks outward up to relatedLimit, nearest first) and its source document.
1800+
Retrieve one memory by ID. Optionally include its versions (up to three steps away, nearest first), its direct extends and derives links, up to relatedLimit each, and its source document.
18011801
</dd>
18021802
</dl>
18031803
</dd>
@@ -1863,7 +1863,7 @@ client.memories.get(
18631863
<dl>
18641864
<dd>
18651865

1866-
**related_limit:** `typing.Optional[int]` — Maximum parents, children and siblings to return, applied to each list separately. Each list walks outward from the memory, nearest first, until it reaches this many.
1866+
**related_limit:** `typing.Optional[int]` — Maximum parents, children and siblings to return, applied to each list separately. Parents and children are earlier and later versions up to three steps away, nearest first; siblings are direct extends or derives links.
18671867

18681868
</dd>
18691869
</dl>
@@ -2410,7 +2410,7 @@ client.connectors.update(
24102410
<dl>
24112411
<dd>
24122412

2413-
**selection:** `typing.Optional[ConnectorSelection]` — What to sync, as ids grouped by kind. GitHub takes repos, Gmail takes labels, Google Drive takes files and folders. Replaces the current selection.
2413+
**selection:** `typing.Optional[ConnectorSelection]` — What to sync, as ids grouped by kind. GitHub takes repos, Gmail takes labels, Google Drive takes files and folders, OneDrive takes folders. Replaces the current selection.
24142414

24152415
</dd>
24162416
</dl>
@@ -2588,6 +2588,14 @@ client.namespaces.list()
25882588
<dl>
25892589
<dd>
25902590

2591+
**q:** `typing.Optional[str]` — Case-insensitive substring to match against namespace names
2592+
2593+
</dd>
2594+
</dl>
2595+
2596+
<dl>
2597+
<dd>
2598+
25912599
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
25922600

25932601
</dd>
@@ -2973,3 +2981,230 @@ client.organization.update(
29732981
</dl>
29742982
</details>
29752983

2984+
## Content Management
2985+
<details><summary><code>client.content_management.<a href="src/supermemory/content_management/client.py">post_ns_by_namespace_list_documents_memory_counts</a>(...) -> PostNsByNamespaceListDocumentsMemoryCountsResponse</code></summary>
2986+
<dl>
2987+
<dd>
2988+
2989+
#### 📝 Description
2990+
2991+
<dl>
2992+
<dd>
2993+
2994+
<dl>
2995+
<dd>
2996+
2997+
Count live memories in this namespace for up to 100 public document IDs. Missing or inaccessible documents are omitted, not reported as zero.
2998+
</dd>
2999+
</dl>
3000+
</dd>
3001+
</dl>
3002+
3003+
#### 🔌 Usage
3004+
3005+
<dl>
3006+
<dd>
3007+
3008+
<dl>
3009+
<dd>
3010+
3011+
```python
3012+
from supermemory import Supermemory
3013+
from supermemory.environment import SupermemoryEnvironment
3014+
3015+
client = Supermemory(
3016+
api_key="<token>",
3017+
environment=SupermemoryEnvironment.DEFAULT,
3018+
)
3019+
3020+
client.content_management.post_ns_by_namespace_list_documents_memory_counts(
3021+
namespace="user_alex",
3022+
ids=[
3023+
"ids"
3024+
],
3025+
)
3026+
3027+
```
3028+
</dd>
3029+
</dl>
3030+
</dd>
3031+
</dl>
3032+
3033+
#### ⚙️ Parameters
3034+
3035+
<dl>
3036+
<dd>
3037+
3038+
<dl>
3039+
<dd>
3040+
3041+
**namespace:** `str` — The isolated namespace. This can be an ID for your user, a project ID, or any other identifier you wish to use to scope documents.
3042+
3043+
</dd>
3044+
</dl>
3045+
3046+
<dl>
3047+
<dd>
3048+
3049+
**ids:** `typing.List[str]`
3050+
3051+
</dd>
3052+
</dl>
3053+
3054+
<dl>
3055+
<dd>
3056+
3057+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3058+
3059+
</dd>
3060+
</dl>
3061+
</dd>
3062+
</dl>
3063+
3064+
3065+
</dd>
3066+
</dl>
3067+
</details>
3068+
3069+
## Feedback
3070+
<details><summary><code>client.feedback.<a href="src/supermemory/feedback/client.py">post_feedback</a>(...) -> PostFeedbackResponse</code></summary>
3071+
<dl>
3072+
<dd>
3073+
3074+
#### 📝 Description
3075+
3076+
<dl>
3077+
<dd>
3078+
3079+
<dl>
3080+
<dd>
3081+
3082+
Report a bug, request a feature or flag a docs problem to the Supermemory team. Built for AI agents: send structured JSON and an engineer picks it up.
3083+
3084+
Authentication is optional for requests with a usable client IP. Cross-zone Cloudflare Worker requests and requests without a client IP must provide an API key. With an API key the limit is 3 submissions per organization per UTC day; without one it is 3 per IPv4 address or IPv6 /64, shared with everyone behind that address. Authenticated submissions have a separate 200/day pool; anonymous submissions share a 20/day pool. Pass your API key to get your own quota.
3085+
</dd>
3086+
</dl>
3087+
</dd>
3088+
</dl>
3089+
3090+
#### 🔌 Usage
3091+
3092+
<dl>
3093+
<dd>
3094+
3095+
<dl>
3096+
<dd>
3097+
3098+
```python
3099+
from supermemory import Supermemory
3100+
from supermemory.environment import SupermemoryEnvironment
3101+
3102+
client = Supermemory(
3103+
api_key="<token>",
3104+
environment=SupermemoryEnvironment.DEFAULT,
3105+
)
3106+
3107+
client.feedback.post_feedback(
3108+
type="bug",
3109+
title="Search returns no results for documents still in indexing",
3110+
description="Documents added less than a minute ago are missing from /v4/search results even though GET /v3/documents/{id} reports status done.",
3111+
)
3112+
3113+
```
3114+
</dd>
3115+
</dl>
3116+
</dd>
3117+
</dl>
3118+
3119+
#### ⚙️ Parameters
3120+
3121+
<dl>
3122+
<dd>
3123+
3124+
<dl>
3125+
<dd>
3126+
3127+
**type:** `PostFeedbackRequestType` — Kind of feedback
3128+
3129+
</dd>
3130+
</dl>
3131+
3132+
<dl>
3133+
<dd>
3134+
3135+
**title:** `str` — One-line summary
3136+
3137+
</dd>
3138+
</dl>
3139+
3140+
<dl>
3141+
<dd>
3142+
3143+
**description:** `str` — What happened, with enough detail for an engineer to act on it
3144+
3145+
</dd>
3146+
</dl>
3147+
3148+
<dl>
3149+
<dd>
3150+
3151+
**endpoint:** `typing.Optional[str]` — API operation the feedback is about
3152+
3153+
</dd>
3154+
</dl>
3155+
3156+
<dl>
3157+
<dd>
3158+
3159+
**request_id:** `typing.Optional[str]` — Request ID of a failing call, if there is one
3160+
3161+
</dd>
3162+
</dl>
3163+
3164+
<dl>
3165+
<dd>
3166+
3167+
**expected:** `typing.Optional[str]` — What you expected to happen
3168+
3169+
</dd>
3170+
</dl>
3171+
3172+
<dl>
3173+
<dd>
3174+
3175+
**actual:** `typing.Optional[str]` — What actually happened
3176+
3177+
</dd>
3178+
</dl>
3179+
3180+
<dl>
3181+
<dd>
3182+
3183+
**client:** `typing.Optional[str]` — Agent, tool or SDK sending the feedback
3184+
3185+
</dd>
3186+
</dl>
3187+
3188+
<dl>
3189+
<dd>
3190+
3191+
**contact_email:** `typing.Optional[str]` — Where to reach you about this feedback
3192+
3193+
</dd>
3194+
</dl>
3195+
3196+
<dl>
3197+
<dd>
3198+
3199+
**request_options:** `typing.Optional[RequestOptions]` — Request-specific configuration.
3200+
3201+
</dd>
3202+
</dl>
3203+
</dd>
3204+
</dl>
3205+
3206+
3207+
</dd>
3208+
</dl>
3209+
</details>
3210+

0 commit comments

Comments
 (0)