supermemory/apps/docs
MaheshtheDev 2e0043dbe4 docs: add Container Tags concept page (#1098)
## What & why

The Mintlify docs app didn't have a dedicated page explaining **container tags** — the core concept used everywhere in the Supermemory API. Container tags were only mentioned in passing inside `concepts/filtering.mdx`, so there was no single place a developer could go to understand what they are and how they behave.

This PR adds a `Container Tags` concept page, derived from how the `mono` API actually implements them.

## What the page covers

- **The isolation/namespacing model** — each container tag maps to its own vector namespace (`memoryNamespace` / `chunkNamespace` in `apps/api/src/services/vectordb/namespace.ts`), so retrieval never leaks across tags.
- **Auto-creation** — adding a memory with a new tag auto-creates the backing `space` (upsert on `(container_tag, org_id)`).
- **Naming rules** — `≤ 100` chars, pattern `^[a-zA-Z0-9_:-]+$`, taken straight from `containerTagValidator` in `packages/validation/api.ts`. Notes the colon for hierarchical tags.
- **`containerTag` (current) vs `containerTags` (deprecated array)** — matches the deprecation in the validation schemas and the `/v4` API.
- **Lifecycle usage** — add / search / list / update / delete.
- **Access control** — API key scopes + member container-tag restrictions, and the `403` behavior enforced by `containerTagGate` / `containerTagGuard` (`apps/api/src/lib/auth/container-tag-guard.ts`).
- **Per-container settings** — `name` and `entityContext`, plus merge, from `ContainerTagSettingsSchema`.
- **Recommended naming conventions** — user / project / agent / hierarchical patterns.

## Changes

- Add `apps/docs/concepts/container-tags.mdx`
- Register the page in `apps/docs/docs.json` under the **Concepts** group (before `concepts/filtering`)

## Notes

- Opened as a **draft** for review.
- Validated `docs.json` remains well-formed JSON.
- The existing `concepts/filtering.mdx` is cross-linked rather than duplicated — it keeps the filter-combination examples; this page focuses on the concept itself.

https://claude.ai/code/session_01Xwp8sDZrsQr5mmuRu5TYvX

---
_Generated by [Claude Code](https://claude.ai/code/session_01Xwp8sDZrsQr5mmuRu5TYvX)_
2026-06-11 23:10:52 +00:00
..
.cursor/rules migrate docs to public 2025-09-28 16:42:06 -07:00
add-memories docs: clarify metadata-only PATCH does not reindex (#784) 2026-03-17 20:48:52 +00:00
ai-sdk docs: @supermemory/tools v2.0.0 & migration guide (#886) 2026-04-27 18:24:59 +00:00
changelog docs: update with dreaming info (#1020) 2026-06-01 18:10:42 +00:00
concepts docs: add Container Tags concept page (#1098) 2026-06-11 23:10:52 +00:00
connectors granola docs (#1042) 2026-06-03 20:36:06 +00:00
cookbook docs changes (#678) 2026-01-18 16:55:32 -08:00
images granola docs (#1042) 2026-06-03 20:36:06 +00:00
integrations docs: self-hosting section for supermemory-server (#1083) 2026-06-10 09:41:52 -07:00
list-memories docs changes (#678) 2026-01-18 16:55:32 -08:00
logo migrate docs to public 2025-09-28 16:42:06 -07:00
memory-api docs: clarity on document limit for connectors (#841) 2026-04-09 15:17:49 +00:00
memory-graph docs changes (#678) 2026-01-18 16:55:32 -08:00
memory-router docs changes (#678) 2026-01-18 16:55:32 -08:00
memorybench Add MemScore documentation to memorybench docs (#797) 2026-03-23 15:19:40 -07:00
migration docs: @supermemory/tools v2.0.0 & migration guide (#886) 2026-04-27 18:24:59 +00:00
model-enhancement fix: model names 2025-10-03 02:41:49 -07:00
openai-sdks migrate docs to public 2025-09-28 16:42:06 -07:00
overview migrate docs to public 2025-09-28 16:42:06 -07:00
search docs changes (#678) 2026-01-18 16:55:32 -08:00
self-hosting docs: self-hosting section for supermemory-server (#1083) 2026-06-10 09:41:52 -07:00
smfs docs: SMFS documentation — providers, Python bash tool, examples (#889) 2026-04-28 20:04:15 -07:00
snippets migrate docs to public 2025-09-28 16:42:06 -07:00
supermemory-mcp feat: mcp modal with better instructions (#836) 2026-04-08 19:20:11 +00:00
update-delete-memories docs: clarify metadata-only PATCH does not reindex (#784) 2026-03-17 20:48:52 +00:00
user-profiles custom id implementation (#877) 2026-04-24 23:43:16 +00:00
.gitignore migrate docs to public 2025-09-28 16:42:06 -07:00
add-memories.mdx docs: update with dreaming info (#1020) 2026-06-01 18:10:42 +00:00
analytics.mdx fix: all broken links 2025-10-07 17:25:39 -07:00
authentication.mdx docs: add scoped key deletion endpoint to auth docs (#756) 2026-02-28 01:06:12 +00:00
docs.json docs: add Container Tags concept page (#1098) 2026-06-11 23:10:52 +00:00
document-operations.mdx docs: clarify metadata-only PATCH does not reindex (#784) 2026-03-17 20:48:52 +00:00
favicon.png migrate docs to public 2025-09-28 16:42:06 -07:00
install.md docs: align vibe-coding prompt + install guide with canonical API (#976) 2026-05-19 15:27:20 -07:00
intro.mdx docs: self-hosting section for supermemory-server (#1083) 2026-06-10 09:41:52 -07:00
introduction.mdx docs changes (#678) 2026-01-18 16:55:32 -08:00
memory-operations.mdx direct add memory support 2026-02-09 18:32:24 -08:00
n8n.mdx add(docs): migration guide from zep to supermemory (#612) 2025-12-20 00:47:52 +00:00
package.json use portless 2026-05-06 22:42:34 -07:00
quickstart.mdx docs: self-hosting section for supermemory-server (#1083) 2026-06-10 09:41:52 -07:00
README.md migrate docs to public 2025-09-28 16:42:06 -07:00
search.mdx docs changes (#678) 2026-01-18 16:55:32 -08:00
style.css feat: mobile responsive, lint formats, toast, render issue fix (#688) 2026-01-21 03:11:53 +00:00
test.py docs changes (#678) 2026-01-18 16:55:32 -08:00
test.ts mastra integration (#717) 2026-02-03 00:43:08 +00:00
user-profiles.mdx custom id implementation (#877) 2026-04-24 23:43:16 +00:00
vibe-coding.mdx docs: align vibe-coding prompt + install guide with canonical API (#976) 2026-05-19 15:27:20 -07:00
zapier.mdx add(docs): migration guide from zep to supermemory (#612) 2025-12-20 00:47:52 +00:00

supermemory Docs