Skip to main content
A preview sandbox is a real deploy URL for a branch before a pull request exists. floo previews lists, resets and deletes them. floo status --preview shows one, and floo logs query --preview reads its logs.

Create a preview

Run floo deploy on any branch but the default one. It pushes the branch, creates or refreshes that branch’s preview, and waits for it. Dev stays as it is.
Previews created this way follow the same isolation contract as pull request previews. Source comes from the app’s GitHub repository; uncommitted files are not uploaded. previews up was removed; it fails and names floo deploy.

JSON output

With --json, the last line is the preview:
Every preview command emits one JSON object.

list

List active preview sandboxes for an app.

Show one preview, and its logs

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. previews status, previews logs and previews resources list|show were folded into these commands; each fails and names its replacement.

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

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 floo status --preview shows in the Reset column and reset_blocked_reason field. previews resources reset became previews reset. Postgres preview branches are not reset-eligible.

Flags

JSON output

Failure handling