poly deployments requires a subcommand.
poly deployments list
List deployments for the project.
Examples:
--limit to cap the number of entries shown. Long listings are automatically paged through the system pager when stdout is a TTY; output piped to a file or another command is never paged.
--json output shape:
poly deployments show
Show detailed metadata and included deployments for a specific version.
Examples:
Sandbox is the source of truth for the linear version history — pre-release and live promotions carry the same version hashes forward.
When you set an
--env other than sandbox, it shows the included deployments between that deployment and the previous one. Use this for auditing what changes were included.
--json output shape:
poly deployments promote
Promote a deployment to the next environment (pre-release or live).
Deployments must go up the chain. sandbox -> pre-release -> live
Examples:
When promoting to
live, the command searches for the deployment in pre-release and uses sandbox as the linear history source for computing included changes. When promoting to pre-release, it searches sandbox.
Without --force, the command prompts for confirmation before proceeding and optionally allows you to enter or override the deployment message interactively.
--json output shape:
"dry_run": true instead of pushing changes when --dry-run is passed.
poly deployments rollback
Roll back to a previous deployment version in the sandbox environment.
Examples:
Without
--force, the command prompts for confirmation before proceeding.
--json output shape:
"dry_run": true instead of rolling back when --dry-run is passed.
poly deployments experiment
Manage experiments for projects using the simplified deployment model, testing a top-level branch against the current live version. Only one experiment can run at a time, with a single variant. poly deployments experiment requires a subcommand.
poly deployments experiment start
Start a new experiment against the current live version. main is always the implicit control.
Examples:
main) that isn’t diverged from it — sync a stale branch with its parent first.
All flags are required with
--json--name, --branch, and --traffic must all be passed explicitly when using --json, since interactive prompts aren’t available non-interactively.--json output shape:
poly deployments experiment list
List experiments for the project.
Examples:
--json output shape:
poly deployments experiment active
Show the currently active experiment, if any.
Examples:
--json output shape:
poly deployments experiment update
Update the name and/or traffic split for the active experiment. At least one of --name or --traffic must be given.
Examples:
At least one of
--name or --traffic is required with --jsonOne of them must be passed explicitly when using --json, since interactive prompts aren’t available non-interactively.--json output shape:
poly deployments experiment end
End the active experiment and choose which branch wins. The winner must be the experiment’s control or variant, and it takes all live traffic immediately: the platform redeploys it to live itself, with no separate promotion step. Asks for confirmation unless --force or --json is passed.
Examples:
--chosen-branch is required with --json--chosen-branch must be passed explicitly when using --json, since interactive prompts aren’t available non-interactively.--json output shape:
Related pages
- Environments and deployment — the sandbox → pre-release → live ladder these commands move a project through

