# Sandbox sites

> On an Enterprise account every new site starts as a sandbox: staging only, no site license, 5 GB of disk, and 3 days of backups.

Source: https://docs.wpwaterfall.com/sandbox-sites

A **sandbox site** is a site that has staging and no live environment. **Only an Enterprise account has them.** An Enterprise account pays for each site when it goes live, so every new site starts as a sandbox. It costs nothing until you launch it live, and you do not turn anything on to get one. Individual and Business accounts have no sandboxes: a new site there starts on staging and uses a site license.

## What a sandbox has

- A **staging environment**, and up to **2 preview environments**. They run the same small profile as any staging or preview environment, and they sleep when idle. See [Sleeping environments](https://docs.wpwaterfall.com/sleeping-environments).
- **5 GB of disk** for each environment.
- **Sleep.** A sandbox sleeps when idle. It may stay asleep until the first of the next month, and launching it live keeps it awake. See [When a sandbox is asleep](#when-a-sandbox-is-asleep).
- Backups kept **3 days**. Manual, scheduled, and hourly backups of a sandbox all expire after 3 days, and the backup schedule offers a keep count of 3 at most. A backup made before this rule that is older than 3 days is deleted by the next hourly cleanup.
- A temporary staging address, such as `staging-<name>.wpwaterfall.dev`, the same as any other site. See [Your site's temporary domain](https://docs.wpwaterfall.com/temporary-domain).
- A third preview, if you need one, uses an additional preview slot. See [Additional preview environments](https://docs.wpwaterfall.com/additional-preview-environments).

## What a sandbox does not have

- **No live environment.** Going live makes one.
- **No site license.** A sandbox uses no site license, and it does not count toward your Enterprise level until it is live.
- **No custom domain.** Domains belong to live. Adding one answers with a plain sentence that says to launch the site live first. See [Domains](https://docs.wpwaterfall.com/domains).

## Create a sandbox

1. Open **Sites**, then **Add site**.
2. Pick how the site starts, a name, and a data center, then create the site. An Enterprise account has no plan or tier to pick here, because the site is a sandbox.

The site is a sandbox until you launch it live. There is no switch and no limit on how many an Enterprise account holds. The Sites list shows **Sandbox** as plain text beside the name, and the card on the site page is titled **Sandbox site**. A site you move in from another host starts as a sandbox too.

## When a sandbox is asleep

A sandbox that is asleep for the rest of the month says so on its site page: **This sandbox is asleep until** the first of next month, and launching the site live wakes it. Visitors see a suspended page, **Wake up** answers with the same sentence, and **Resume** is off. Launching the site live lifts it at once. On the first of the next month the sandbox starts again by itself.

## Go live

Open the site and choose **Launch live**.

1. Pick the site's tier, **Single 20GB** to **Single 250GB**. The price shows at your Enterprise level.
2. The saved card pays for the site's 1 site license and tier. A card and billing details must be on file first.
3. WP Waterfall makes the live environment from staging, the same as [Launch live](https://docs.wpwaterfall.com/create-a-site).
4. The sandbox limits end. The site is a normal licensed site from then on, with the disk and backups of its tier, and it counts toward your Enterprise level.

See [Plans and site licenses](https://docs.wpwaterfall.com/plans-and-site-licenses) and [Site tiers](https://docs.wpwaterfall.com/site-tiers).

## Delete a sandbox

A sandbox is never deleted for being idle. Delete it from the site's page when you no longer need it.

## Who can do what

- Making a sandbox needs permission to create sites.
- **Launch live** needs permission to change environments and to create sites, because it buys a site license.

## API

- A site created on an Enterprise account by `POST /v1/sites` is a sandbox. The request has no `subscription_id` and buys nothing. A call from another account type does not make a sandbox.
- `GET /v1/sites/{id}` shows `sandbox` (`is_sandbox`, `included_previews`, `disk_gb`, `backup_days`) while the site is a sandbox.
- `POST /v1/environments/{id}/wake` answers 409 `sandbox_hours_used` while the sandbox is asleep until the next month.
- `POST /v1/backups/{id}/restore` and `POST /v1/environments/{id}/clone-content` answer 409 `sandbox_disk_full` before any job is queued when the backup, or the environment you clone from, is larger than the sandbox's 5 GB. Delete some files or database rows first, or launch live.
- `GET /v1/environments/{id}/backup-schedule` shows `max_keep` as 3 for a sandbox, and a `PUT` with a larger `keep` answers 422.
- `POST /v1/sites/{id}/launch` takes `confirm: true` and, for a sandbox, the site's `tier`.
- The audit log has `site.sandbox_created`, `site.sandbox_launched`, `site.sandbox_deleted`, `site.sandbox_hours_used`, and `site.sandbox_hours_reset`.
- MCP: `create_site` makes a sandbox on an Enterprise account, and `launch_live` takes the site's `tier`.

## Related

- [Create a site](https://docs.wpwaterfall.com/create-a-site)
- [Plans and site licenses](https://docs.wpwaterfall.com/plans-and-site-licenses)
- [Account types](https://docs.wpwaterfall.com/account-types)
- [Domains](https://docs.wpwaterfall.com/domains)
- [Additional preview environments](https://docs.wpwaterfall.com/additional-preview-environments)
