PREPROD
ReaderAuthor

relic

Excavation Unit Tenant ID

The `tenantId` on an `ExcavationUnit` records which tenant owns the unit, isolating each organization's dig areas from every other's.

1 min read · 2 depth levelsstratum-relic · vdevMatches production
Everyday

Every ExcavationUnit carries a tenantId that ties it to the organization that opened it. You never set this value yourself — Relic fills it in from your authenticated session when the unit is created — and it cannot move to another tenant afterward. The tenantId is the foundation of multi-tenant isolation: whenever the system lists units, gathers a unit's layers and artifacts, or reports on excavation progress, it filters by tenantId first so you only ever see your own team's test pits, trenches, and units. This keeps separate projects from different organizations cleanly partitioned even when they share the same Relic deployment.

Technical section
Data model, API, and internals — visible to developers.
View as developer →
Was this helpful?