> For the complete documentation index, see [llms.txt](https://docs.layerlens.ai/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.layerlens.ai/7.-observe-see-whats-happening/multi-tenancy.md).

# Multi-tenancy

Multi-tenancy in Stratix — orgs, isolation, multi-org membership.

Stratix is multi-tenant. Each tenant is an **organization** (`org_id`). Every record is scoped to exactly one org. A user can belong to many orgs and switch between them.

## What's per-org

* Private models (BYOK)
* Private benchmarks
* Private evaluations
* Judges and scorers
* Traces and trace evaluations
* Spaces
* Settings, integrations, API keys
* ECU balance and billing
* Audit log

## What's global

* Public catalog (models, benchmarks, public evaluations, public spaces)
* Quarterly research reports
* Learning Library

## Isolation

* **Database** — every record carries `org_id`; row-level security enforces the boundary
* **Cache** — cache keys include `org_id`
* **Queues** — per-tenant streams; one tenant's burst can't affect another
* **API** — auth middleware resolves `org_id` from the API key or session

## Active org

A user with multiple-org membership has exactly one **active org** at a time. Switching orgs in the UI updates the session and refreshes catalog views, dashboards, and Settings.

## Data deletion

When you remove a member, their evaluations, judges, and traces remain in the org (they were org-owned). When you delete an org, all org-scoped data is deleted.

## Enterprise: data residency

Enterprise tier supports per-org data residency selection (US, EU, others). Region selection is per-org, not per-user.

## Where to next

* [Stratix Premium — Organizations](https://github.com/LayerLens/gitbook-full/blob/main/13-reference/sdk-python/organizations.md)
* [Stratix Premium — Team management](/11.-admin/team-management.md)
* [Enterprise](https://github.com/LayerLens/gitbook-full/blob/main/assets/screenshots/README.md)
* [Security and compliance](https://github.com/LayerLens/gitbook-full/blob/main/assets/screenshots/README.md)
