Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/tailor-platform/sdk/llms.txt

Use this file to discover all available pages before exploring further.

Commands for managing Tailor Platform workspaces. Workspaces are isolated environments where you deploy and run your Tailor Platform applications.

workspace

Manage Tailor Platform workspaces. Usage
tailor-sdk workspace [command]
Commands
CommandDescription
workspace listList all Tailor Platform workspaces
workspace getShow detailed information about a workspace
workspace createCreate a new Tailor Platform workspace
workspace deleteDelete a Tailor Platform workspace
workspace restoreRestore a deleted workspace
workspace appManage workspace applications
workspace userManage workspace users
When no subcommand is provided, defaults to list.

workspace list

List all Tailor Platform workspaces. Usage
tailor-sdk workspace list [options]
Options
OptionAliasDescriptionRequiredDefault
--json-jOutput as JSONNofalse
--limit <LIMIT>-lMaximum number of workspaces to listNo-
Examples List all workspaces:
tailor-sdk workspace list
Limit the number of workspaces:
tailor-sdk workspace list --limit 10
Output
[
  {
    "id": "550e8400-e29b-41d4-a716-446655440000",
    "name": "my-workspace",
    "region": "us-west",
    "createdAt": "2024-03-01T10:00:00Z",
    "updatedAt": "2024-03-01T10:00:00Z"
  }
]

workspace get

Show detailed information about a workspace. Usage
tailor-sdk workspace get [options]
Options
OptionAliasDescriptionRequiredDefault
--json-jOutput as JSONNofalse
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-
--profile <PROFILE>-pWorkspace profileNo-
Example
tailor-sdk workspace get -w 550e8400-e29b-41d4-a716-446655440000
Output
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "my-workspace",
  "region": "us-west",
  "deleteProtection": false,
  "organizationId": "org-123",
  "folderId": "folder-456",
  "createdAt": "2024-03-01T10:00:00Z",
  "updatedAt": "2024-03-01T10:00:00Z"
}

workspace create

Create a new Tailor Platform workspace. Usage
tailor-sdk workspace create [options]
Options
OptionAliasDescriptionRequiredDefault
--json-jOutput as JSONNofalse
--name <NAME>-nWorkspace nameYes-
--region <REGION>-rWorkspace region (us-west, asia-northeast)Yes-
--delete-protection-dEnable delete protectionNofalse
--organization-id <ID>-oOrganization ID to workspace associate withNo-
--folder-id <ID>-fFolder ID to workspace associate withNo-
--profile-name <NAME>-pProfile name to createNo-
--profile-user <USER>User email for the profile (defaults to current user)No-
Examples Create a basic workspace:
tailor-sdk workspace create -n my-workspace -r us-west
Create with delete protection:
tailor-sdk workspace create -n my-workspace -r us-west -d
Create and associate with profile:
tailor-sdk workspace create -n my-workspace -r us-west --profile-name dev
Output
Workspace "my-workspace" created successfully.

{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "name": "my-workspace",
  "region": "us-west",
  "createdAt": "2024-03-01T10:00:00Z",
  "updatedAt": "2024-03-01T10:00:00Z"
}
Workspace Naming Rules
  • Must be 3-63 characters long
  • Can only contain lowercase letters, numbers, and hyphens
  • Cannot start or end with a hyphen
Available Regions
  • us-west: US West region
  • asia-northeast: Asia Northeast region
Use --profile-name to automatically create a profile for the new workspace, making it easier to reference in future commands.

workspace delete

Delete a Tailor Platform workspace. Usage
tailor-sdk workspace delete [options]
Options
OptionAliasDescriptionRequiredDefault
--workspace-id <WORKSPACE_ID>-wWorkspace IDYes-
--yes-ySkip confirmation promptNofalse
Example
tailor-sdk workspace delete -w 550e8400-e29b-41d4-a716-446655440000
Confirmation Prompt Unless --yes is specified, you will be prompted to enter the workspace name to confirm deletion:
Enter the workspace name to confirm deletion (my-workspace):
Output
Workspace "550e8400-e29b-41d4-a716-446655440000" deleted successfully.
If profiles are associated with the workspace:
Workspace "550e8400-e29b-41d4-a716-446655440000" and 2 associated profile(s) deleted successfully.
ImportantDeleting a workspace:
  • Permanently removes the workspace and all its data
  • Cannot be undone (unless you use workspace restore within the retention period)
  • Automatically removes any profiles associated with the workspace
  • Can be prevented by enabling delete protection (--delete-protection on create)

Additional Commands

The workspace command also includes subcommands for managing workspace applications and users:
  • workspace app - Manage workspace applications
  • workspace user - Manage workspace users
  • workspace restore - Restore a deleted workspace
Refer to the individual command documentation for more details.

Build docs developers (and LLMs) love