Environments
Restore an earlier setup
Puts the environment back to the setup a build made live: its warm hook, repositories, variables, files, and skills, and the image built from them. New workspaces get it right away. If that image was already cleaned up, the restored settings are rebuilt (rebuilding: true). Builds keep their setup while they are among the last 10 that stored one (restorable).
post/v1/environments/{environment_id}/restore
Request
- Base URLhttps://api.replicas.dev
- URLhttps://api.replicas.dev/v1/environments/{environment_id}/restore
- AuthHTTP bearer
Path parameters
environment_idstring required
Environment UUID.
Headers
X-Replicas-Api-Version'2026-10-07'
API version. 2026-10-07 returns snake_case responses. See versioning.
Request body
Response
Restored
Changes
No recorded changes to this operation across all 1 revision of this API.