OlammaAPI

Restore version

Put a page back as it was in a saved version. Send the page’s current version as baseVersion; the restore itself is saved as a new version, so nothing is lost.

POST/v1/w/{workspace}/pages/{id}/versions/{versionId}/restore

Send an Idempotency-Key. This may answer 202 while it waits for approval.

Path parameters

workspacestringrequired

Your workspace’s address name.

idstringrequired

The page’s id, like pg_…, from List pages.

versionIdstringrequired

The version to go back to.

Headers

Idempotency-Keystring

8–100 characters. Repeat the same key and body to get the first outcome back instead of writing twice.

Body

baseVersionintegerrequired

The page’s current version, from Get page.

Response

pageobjectrequired

Details

Restore a saved page version with a current-version check.

Since 2026-12. Errors are listed in Errors.