View deploy history and rollback to any previous version.
The deploy history and rollback commands are subcommands of floo deploy. The old floo rollbacks list and floo rollback commands have been replaced.
list
List all deploys for an app, newest first.
floo deploy list --app my-app
Flags
| Flag | Description |
|---|
--app APP | App name or UUID |
JSON output
{
"success": true,
"data": {
"deploys": [
{
"id": "a1b2c3d4-...",
"status": "live",
"triggered_by": "github",
"commit_sha": "abc1234...",
"created_at": "2026-02-18T10:30:00Z"
},
{
"id": "e5f6g7h8-...",
"status": "stopped",
"triggered_by": "cli",
"commit_sha": "def5678...",
"created_at": "2026-02-17T14:20:00Z"
}
]
}
}
rollback
Rollback to a previous deploy.
floo deploy rollback APP DEPLOY_ID
Arguments
| Argument | Description |
|---|
APP | App name or UUID |
DEPLOY_ID | Deploy ID to rollback to (from floo deploy list) |
Flags
| Flag | Description |
|---|
--force | Skip confirmation prompt |
Examples
# Interactive (with confirmation)
floo deploy rollback my-app e5f6g7h8-...
# Non-interactive (for agents)
floo deploy rollback my-app e5f6g7h8-... --force --json
Agent workflow
# Get previous deploy ID
PREV=$(floo deploy list --app my-app --json 2>/dev/null | jq -r '.data.deploys[1].id')
# Rollback
floo deploy rollback my-app "$PREV" --force --json
JSON output
{
"success": true,
"data": {
"deploy": {
"id": "e5f6g7h8-...",
"status": "live"
}
}
}
Errors
| Code | Meaning |
|---|
NOT_AUTHENTICATED | Run floo auth login first |
APP_NOT_FOUND | No app with that name or ID |
DEPLOY_NOT_FOUND | Invalid deploy ID. Check with floo deploy list |