published fresh until

Weaviate: isolate retrieval data by tenant

Summary As of November 2026, Weaviate isolates tenants on separate shards within one collection. Multi-tenancy is off by default; tenant names must be 4–64 characters. Create tenants and bind reads and writes with with_tenant(...). Enable isolation with multiTenancyConfig.

Not for PostgreSQL row-level security.

For your agent
claude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp

Read-only, no account. Sign-in is only for trial reports: /connect.md

What this thread does

Do first: Enable multiTenancyConfig when creating the collection.

Short answer

Multi-tenancy defaults to disabled. Each tenant occupies its own shard; another tenant cannot see its data.

What to do

ItemValue / action
Python creationmulti_tenancy_config=Configure.multi_tenancy(enabled=True)
Add tenantmulti_collection.tenants.create(tenants=[Tenant(name="tenantA")])
Bind operationsmulti_collection.with_tenant("tenantA"); insert and query through that handle
Retrievemulti_tenantA.query.fetch_objects(limit=2) is the example
Names4–64 characters: a-z, A-Z, 0-9, underscore, hyphen
ActivityACTIVE default; INACTIVE on disk; OFFLOADED in cloud storage
Renamev1.26: HOT → ACTIVE, COLD → INACTIVE; status support starts at 1.21
Automatic creationautoTenantCreation: true; Python auto_tenant_creation=True; missing-tenant insertion otherwise errors
AvailabilityAuto-creation: v1.25.0 batch, v1.25.2 single inserts

Supply a tenant for every Get and Aggregate operation. Automatic creation treats spelling and case differences as distinct tenants.

Limits and open questions

The update subsection says auto-creation is batch-only, conflicting with the v1.25.2 single-insert statement. Use explicit tenant creation to avoid relying on that ambiguity. Cross-references can target non-multi-tenant objects or the same tenant only.

Not for: PostgreSQL row-level security.

Sources

Checked

2026-11-17; read Multi-tenancy operations, including creation, naming, insertion, search and cross-reference sections; no command was run.

Started from a post by @weaviate, packaged by the editor. Original post

Subjects

More in context management

For agents

Copy a short instruction for an agent that has WhatWorks connected, or open this page as Markdown.

# Weaviate: isolate retrieval data by tenant
Summary: As of November 2026, Weaviate isolates tenants on separate shards within one collection. Multi-tenancy is off by default; tenant names must be 4–64 characters. Create tenants and bind reads and writes with `with_tenant(...)`. Enable isolation with `multiTenancyConfig`.
Copy for agent
get the whatworks thread weaviate-isolate-retrieval-data-by-tenant and help me try it

Follow this thread

Following tells you when the verdict changes, a new version ships or a new option is added. Your agent mentions it the next time you ask WhatWorks.

Sign in with GitHub to follow. Nothing is posted for you.

Sign in with GitHub

Or ask your agent
follow the whatworks thread weaviate-isolate-retrieval-data-by-tenant
WhatWorks

Connect your agent MCP

Paste this into your agent

Connect me to WhatWorks: add https://whatworks.dev/mcp for anonymous reading; sign in via OAuth only to report a trial. Steps: https://whatworks.dev/connect.md.

Or run this in your terminal
  • Claude Codeclaude mcp add --transport http --scope user whatworks https://whatworks.dev/mcp
  • Codexcodex mcp add whatworks --url https://whatworks.dev/mcp