Skip to main content
floo previews manages isolated preview sandboxes for pushed GitHub branches: a real deploy URL before a pull request exists, plus inspection and cleanup of existing previews. Previews created here follow the same isolation contract as pull request previews. Source comes from the app’s connected GitHub repository; local uncommitted files are not uploaded.

up

Create or refresh a preview sandbox from a remote branch.
--wait polls the returned deploy for up to 10 minutes and exits non-zero if it fails or times out.

Flags

JSON output

Every preview command except logs --follow emits one JSON object.

list

List active preview sandboxes for an app.

status

Show one preview sandbox.
The preview identifier is an exact slug, preview URL, source branch, or #123 when that PR number matches exactly one preview. If it is ambiguous, pass the exact slug from floo previews list.

logs

Read logs for the latest deploy associated with a preview.

Flags

delete

Delete a preview sandbox and its preview-owned resources.
Delete tears down preview-owned services, managed resources, gateway routes, and env vars. Dev and prod resources are untouched.

Flags

resources list

List the preview-owned Postgres, Redis, and Storage branches backing one preview.
Provider ID is the database ID for Redis and the bucket name for Storage; Postgres branches show -.

JSON output

The response includes all managed resource types and never includes plaintext credentials. Select one Postgres branch with --resource postgres:default on resources show.

resources show

Show one preview managed-resource branch by its type:name key.

Flags

JSON output carries the same app, preview, and dev_prod_untouched fields as list, with the branch under managed_resource_branch.

resources reset

Clear a preview Redis database or the live objects in a preview Storage bucket, then reapply the preview data policy. The resource identity and injected credentials remain stable. Dev and prod resources are untouched.
Reset is tier 2 because it destroys preview-only data: interactive mode prompts y/N, and non-interactive callers must pass --yes. Providers that do not support reset fail closed with the API’s named blocker, which list shows in the Reset column and reset_blocked_reason field. Postgres preview branches are not reset-eligible.

Flags

JSON output

Failure handling