## TL;DR

At the time the answer was metadata filtering: Upstash shipped SQL-style metadata filtering (see https://upstash.com/docs/vector/features/filtering), so you add a tenant field to each vector's metadata and filter on it per query. Namespaces were planned for a later stage.

## Steps

1. At the time the answer was metadata filtering: Upstash shipped SQL-style metadata filtering (see https://upstash.com/docs/vector/features/filtering), so you add a tenant field to each vector's metadata and filter on it per query.

2. Namespaces were planned for a later stage.

## When to use

You are seeing this: A user building multi-tenant RAG on Upstash Vector asked for the equivalent of namespaces or partition keys used by other vector providers. Use this skill when you run into "Upstash Vector: how to partition data per tenant (namespaces/multi-tenancy)".

## When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

## Versions

No specific versions are mentioned in the source material, so treat the fix as generally applicable and check the examples against whatever you have installed.

## Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

## Sources

- https://upstash.com/docs/vector/features/filtering
