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 and deploying static websites.

staticwebsite

Manage static websites in your workspace. Usage
tailor-sdk staticwebsite [command]
Commands
CommandDescription
staticwebsite deployDeploy a static website from a local build directory
staticwebsite listList all static websites in a workspace
staticwebsite getGet details of a specific static website

staticwebsite deploy

Deploy a static website from a local build directory. Usage
tailor-sdk staticwebsite deploy [options]
Options
OptionAliasDescriptionRequiredDefault
--json-jOutput as JSONNofalse
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-
--profile <PROFILE>-pWorkspace profileNo-
--name <NAME>-nStatic website nameYes-
--dir <DIR>-dPath to the static website filesYes-
Examples Deploy a static website from the dist directory:
tailor-sdk staticwebsite deploy --name my-website --dir ./dist
Deploy with workspace ID:
tailor-sdk staticwebsite deploy -n my-website -d ./dist -w ws_abc123
Deploy with JSON output:
tailor-sdk staticwebsite deploy -n my-website -d ./build --json
Deployment Notes
  • The deployment process uploads all files from the specified directory
  • Files are uploaded with appropriate MIME types based on file extensions
  • Unsupported file types or invalid files will be skipped with warnings
  • The deployment URL is returned after successful deployment

staticwebsite list

List all static websites in a workspace. Usage
tailor-sdk staticwebsite list [options]
Options
OptionAliasDescriptionRequiredDefault
--json-jOutput as JSONNofalse
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-
--profile <PROFILE>-pWorkspace profileNo-
Examples List all static websites:
tailor-sdk staticwebsite list
List with JSON output:
tailor-sdk staticwebsite list --json
List for a specific workspace:
tailor-sdk staticwebsite list -w ws_abc123

staticwebsite get

Get details of a specific static website. Usage
tailor-sdk staticwebsite get [options] <name>
Arguments
ArgumentDescriptionRequired
nameStatic website nameYes
Options
OptionAliasDescriptionRequiredDefault
--json-jOutput as JSONNofalse
--workspace-id <WORKSPACE_ID>-wWorkspace IDNo-
--profile <PROFILE>-pWorkspace profileNo-
Examples Get details of a static website:
tailor-sdk staticwebsite get my-website
Get with JSON output:
tailor-sdk staticwebsite get my-website --json
Get from a specific workspace:
tailor-sdk staticwebsite get my-website -w ws_abc123

Build docs developers (and LLMs) love