Restore Surface Revision
Surfaces
Restore Surface Revision
POST /v0/surfaces//revisions//restore — Restore an older revision into a new active revision
POST
Restore Surface Revision
Restore an older revision by copy — creates a new active revision whose content + bindings match the source revision. History is preserved (the source revision is never mutated). Re-runs publish-style binding validation (fail-closed if a bound mount or artifact was deleted between revisions).
The endpoint does NOT auto-run Playwright validation. The response carries
validationRequired: true so the caller knows to follow up with POST /v0/surfaces/:publicId/validate.
Auth: API key (agent) or user session (operator). Owner-only.