Roll an app back to a previous deploy's image
Needs a running, build-backed app whose target image is still in the registry. Restarts every service in the instance, database included.
Authorization
cloady Personal API token (cldy_…)
In: header
Path Parameters
Query Parameters
Value in
- "production"
- "preview"
- "development"
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/workspaces/string/apps/string/deploys/string/rollback"{ "deploy": { "id": "string", "status": "building", "commitMsg": "string", "sha": "string", "author": "string", "durationMs": 0, "createdAt": "string", "finishedAt": "string", "canRollback": true }}Redeploy an app (refresh code + roll pods) POST
Previous Page
Analyze a failed deploy with AI POST
The AI reads the failed deploy's log, the failing containers' latest output, the names of the source's files, the compose file and the app's variables (never a secret's value), looks further with the read-only API tools when it needs to, and lists what went wrong. A problem's `changes` would fix it: a variable that isn't secret set to a value, a variable renamed (its value moves with it, secret or not), or new scale factors. Nothing is changed: apply them with createVar, updateVar and updateApp, then deploy again. Counts against the caller's 60 AI answers an hour.