Skip to content

Interface: CreateTenantResponse

@kortexya/reasoninglayer


@kortexya/reasoninglayer / CreateTenantResponse

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

Response for the create-tenant operation.

Reports whether the tenant was newly created (vs. already existed, since the operation is idempotent), how many seed sorts were inserted, and the provisioned tenant UUID.

created: boolean

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

true if the tenant was newly created; false if it already existed (idempotent).


optional name?: string | null

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

The label now stored for the tenant, when one is set.

The stored (trimmed) label, not the request echo. null when no label is stored.


seededSorts: number

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

Number of seed sorts successfully inserted into the tenant hierarchy.


tenantId: string

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

The provisioned tenant UUID (echoes the request or the generated value).