Skip to content

Interface: CreateTenantRequest

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CreateTenantRequest

Defined in: src/types/admin.ts:292

Request to provision a new tenant.

Provisioning is explicit and idempotent: it materializes the tenant’s inference state and per-tenant sort hierarchy up front, and optionally seeds initial top-level sorts. All fields are optional — omitted UUIDs are generated server-side.

optional name?: string | null

Defined in: src/types/admin.ts:300

Optional display label for the tenant, stored at provision time.

Metadata only: not unique, not a lookup key, never parsed. Must be non-empty after trim and at most 200 characters.


optional ownerUserId?: string | null

Defined in: src/types/admin.ts:303

Optional owner user UUID for the tenant’s initial state. Generated when omitted.


optional seedSorts?: string[]

Defined in: src/types/admin.ts:306

Optional sort names to seed into the new tenant’s hierarchy as top-level sorts.


optional tenantId?: string | null

Defined in: src/types/admin.ts:309

Optional explicit tenant UUID. A fresh UUID is generated when omitted.