For the complete documentation index, see llms.txt.
Skip to main content
Version: 8.10 (unreleased)

Restore a project snapshot

POST 

/project-snapshots/:projectSnapshotKey/restoration

Restores the project to the state captured in this project snapshot: file contents, names and folder locations are all reset to the snapshot, files added since are removed, and files deleted since are recreated. Before anything is replaced, the project's current state is preserved as a new, automatically named project snapshot, unless the project has not changed since its most recent project snapshot. The restored-to project snapshot itself is left unchanged, so it can be restored again later.

Request​

Responses​

The project snapshot was restored successfully.