mirror of
https://github.com/supermemoryai/supermemory.git
synced 2026-10-27 06:15:15 +00:00
Fixes namespace, auth and SDK-shape docs.
- **Namespace move example deleted instead.** It sent `moveTo` in a JSON body on `DELETE /ns/{namespace}`. The route only reads `moveTo` from the query string and ignores the body, so following the docs permanently deleted the namespace. It now uses `?moveTo=`, and the overview warns about this.
- **SDK call shape.** URL values are positional (`namespace` first), followed by one options object; the docs described one object with `body`. Python 5.0.0 is the v5 client, so "no v5 Python SDK" is gone.
- **Scoped keys** (`authentication.mdx`):
- The allowed-endpoints list now includes the `/ns/*` routes; all legacy routes are kept.
- `containerTags` (several namespaces) is documented.
- Namespace names don't allow dots.
- **Key permissions.** Read/write applies to the whole key; only restricted members have per-namespace permissions.
- **Smaller fixes:**
- The move response has no `success` field.
- `namespaceCount` only matches the namespace list for an unrestricted key.
- `setup --json` does nothing.
- The agent prompt's ban on `memories.*` now covers only the calls v5 removed.
Checked against the current API and the published SDKs (TS 5.0.1, Python 5.0.0). Legacy v3/v4 docs are unchanged apart from factual fixes.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
|
||
|---|---|---|
| .. | ||
| agent-prompt-panel.jsx | ||
| agent-prompt.jsx | ||
| api-v5-agent-prompt.mdx | ||
| api-v5-completion.mdx | ||
| api-v5-content-management.mdx | ||
| api-v5-document-ingestion.mdx | ||
| api-v5-document-updates.mdx | ||
| api-v5-filters.mdx | ||
| api-v5-memory-forgetting.mdx | ||
| api-v5-namespaces.mdx | ||
| api-v5-organization.mdx | ||
| api-v5-overview.mdx | ||
| api-v5-profiles.mdx | ||
| api-v5-rollout.mdx | ||
| api-v5-sdks.mdx | ||
| api-v5-search.mdx | ||
| getting-api-key.mdx | ||
| hero-samples.jsx | ||
| journey.mdx | ||
| migrate-cli.mdx | ||
| slack-message.mdx | ||