Skip to main content

eai tenant

Manage tenants on the Enterprise AI platform.

Description

Tenants represent isolated environments for organizations or applications on the platform. Each tenant has its own data, configuration, and user base. The eai tenant command group provides subcommands for listing, inspecting, and creating tenants.

Subcommands

SubcommandDescription
eai tenant listList all tenants
eai tenant infoShow details for a specific tenant
eai tenant createCreate a new tenant

eai tenant list

List all tenants accessible to the authenticated user.

Syntax

eai tenant list [options]

Options

FlagDescriptionDefault
--jsonOutput raw JSON instead of a formatted tablefalse

Example

# List tenants in a formatted table
eai tenant list

# Output as JSON (useful for scripting)
eai tenant list --json

eai tenant info

Show detailed information about a specific tenant.

Syntax

eai tenant info <id>

Arguments

ArgumentDescriptionRequired
idTenant ID (GUID)Yes

Description

Displays detailed tenant information including:

  • Tenant name and slug
  • Parent tenant (if applicable)
  • Associated domains
  • Created date

Example

eai tenant info abc123-def456-ghi789

eai tenant create

Create a new tenant on the platform.

Syntax

eai tenant create [options]

Options

FlagDescriptionRequired
--name <name>Tenant display nameYes
--slug <slug>URL-safe tenant identifier (kebab-case)Yes
--parent <id>Parent tenant ID for hierarchical tenantsNo
--domain <domains>Comma-separated list of domainsNo

Example

eai tenant create \
--name "My Application" \
--slug my-app \
--domain "myapp.com,app.myenterprise.ai"

With a parent tenant

eai tenant create \
--name "Child Tenant" \
--slug child-tenant \
--parent abc123-def456-ghi789