Migration details
v5 returns a maintained profile directly and gives profile bucket definitions their own namespace-scoped resource.Remove search behavior from profile calls
q, threshold, and include. If the caller needs query-ranked results, issue a separate v5 search request. Move containerTag to the path and rename filters to singular filter.
Read the v5 profile shape
static and dynamic are always returned and cannot be disabled. Omit buckets in the request to return every effective bucket, including the built-in preferences bucket; pass up to 50 names to narrow only the bucket section.
Entries change from v4 strings to { id, memory } objects, and the v4 [Recent]/[Summary] text prefixes are dropped. Synthesized summaries of older memories now carry an id starting with aggregated_; individual dynamic entries keep their [YYYY-MM-DD] date prefix.
Read bucket definitions
Add or edit namespace buckets
Delete namespace buckets
409. The built-in preferences bucket always stays in the effective set; DELETE only removes namespace-owned buckets.
With the SDK
supermemory.profile(namespace, options?) takes no query. The options object is optional and accepts only filter and buckets. Read profile.static, profile.dynamic, and profile.buckets[name] as arrays of { id, memory }.
Verification
- Confirm every profile response contains
static,dynamic, andbuckets. - Compare omitted buckets with one-name and multi-name narrowing.
- Add, edit, and delete a namespace bucket without replacing omitted buckets.
- Attempt to mutate an inherited organization bucket and expect the documented error.