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 URL
    https://api.replicas.dev
  • URL
    https://api.replicas.dev/v1/environments/{environment_id}/restore
  • Auth
    HTTP 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

build_idstring uuid required

Response

Restored

rebuildingboolean required

Changes

No recorded changes to this operation across all 1 revision of this API.