Restore an earlier Hive automation version
restore_flow_versionIdempotent
Bring one earlier saved version of a Hive automation back as the current DRAFT. Nothing is erased and nothing goes live: setting it live is a separate step a person approves in Hive.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| flowId | Yes | The Hive automation to restore into. | |
| versionId | Yes | The version to restore, from read_flow_versions. | |
| idempotencyKey | Yes | A caller-generated unique key (8-200 characters). Reuse it only when retrying this exact write. | |
| expectedDraftRevision | No | The revision read_flow_document returned, or leave it out when there is no draft. | |
| expectedDraftVersionId | No | The draftVersionId read_flow_document returned, or leave it out when there is no draft. |