Not yet available
This command is planned for a future release.
culvii workspace create
Create a new workspace in the active tenant and environment.
Synopsis
culvii workspace create --name <name> --slug <slug>
Description
Creates a new workspace in the active tenant and environment. Requires an OAuth session. Workspace is a permission boundary — RBAC, key scope, and resource visibility all attach at the workspace level.
This command is also called internally by culvii dev when auto-provisioning a personal dev-{username} workspace on first run.
Flags
| Flag | Type | Description |
|---|---|---|
--name | string | Display name for the workspace. Free text, no uniqueness requirement. Required. |
--slug | string | URL-safe identifier. Must match ^[a-z0-9][a-z0-9-]{0,62}$. Must be unique within the tenant. Required. |
Examples
culvii workspace create --name "Payments" --slug payments
# → "Created workspace: payments (wsp_01HXYZ...)"
Error behaviour
| Condition | Status | Message |
|---|---|---|
| Invalid slug format | 400 | "Invalid slug format. Must match ^[a-z0-9][a-z0-9-]62$" |
| Slug already taken | 409 | "Slug 'payments' is already taken in this org." |
| Not authenticated | 401 | "Run culvii login first." |
Related commands
culvii workspace list, culvii workspace promote, culvii dev