PREPROD
ReaderAuthor

relic

Artifact Tenant ID

`Artifact.tenantId` ties each artifact to the tenant that owns it, enforcing data isolation between organizations.

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

The tenantId on an Artifact records which tenant the catalog record belongs to. You never set this field by hand — Relic derives it from your authenticated session and stamps it on every artifact you create. It is the basis for tenant isolation, ensuring one organization's artifacts are never visible to another. The same tenantId links the artifact to its parent Tenant, and it appears in the indexes Relic uses to scope every query to the current tenant.

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