Restore a memory or an older version
ragionex_restore_memoryRestore a trashed record or a retained older version in a Vault by providing the current revision, creating a new revision without permanently deleting data.
Instructions
Restore a trashed record or a retained older version in the selected Vault. Requires update permission. Send the current revision from the trash or version history as expected_revision. For a live record, choose revision after reading that version's full content. For a trashed record, omit revision to restore its last content. A restore creates the next revision and keeps other retained versions. It never permanently deletes a record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| id | Yes | Record ID in the selected Vault to restore. | |
| revision | No | The retained version to restore. Required for a live record; omit or pass null to restore a trashed record's last content. | |
| expected_revision | Yes | The current record revision from the trash or version history. Never guess or increment it yourself. |