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
| Subcommand | Description |
|---|---|
eai tenant list | List all tenants |
eai tenant info | Show details for a specific tenant |
eai tenant create | Create a new tenant |
eai tenant list
List all tenants accessible to the authenticated user.
Syntax
eai tenant list [options]
Options
| Flag | Description | Default |
|---|---|---|
--json | Output raw JSON instead of a formatted table | false |
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
| Argument | Description | Required |
|---|---|---|
id | Tenant 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
| Flag | Description | Required |
|---|---|---|
--name <name> | Tenant display name | Yes |
--slug <slug> | URL-safe tenant identifier (kebab-case) | Yes |
--parent <id> | Parent tenant ID for hierarchical tenants | No |
--domain <domains> | Comma-separated list of domains | No |
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
Related Commands
eai env push-- Push configuration to a newly created tenanteai resources list-- List resources within a tenanteai whoami-- Check your current tenant scope