| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 | --:api: revert-model-snapshot:request: RevertModelSnapshotRequest:response: RevertModelSnapshotResponse--[id="{upid}-{api}"]=== Revert Model Snapshot APIThe Revert Model Snapshot API provides the ability to revert to a previous {ml} model snapshot.It accepts a +{request}+ object and respondswith a +{response}+ object.[id="{upid}-{api}-request"]==== Revert Model Snapshot RequestA +{request}+ requires the following arguments:["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-request]--------------------------------------------------<1> Constructing a new request referencing existing `jobId` and `snapshotId` values.==== Optional ArgumentsThe following arguments are optional:["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-delete-intervening-results]--------------------------------------------------<1> A flag indicating whether or not results in the period between the timestamp on the reverted snapshot and the latest results should be deletedinclude::../execution.asciidoc[][id="{upid}-{api}-response"]==== Revert Job ResponseA +{response}+ contains the full representation of the reverted `ModelSnapshot`.["source","java",subs="attributes,callouts,macros"]--------------------------------------------------include-tagged::{doc-tests-file}[{api}-response]--------------------------------------------------<1> The reverted `ModelSnapshot`
 |