cURL
curl --request POST \ --url 'https://api.vida.dev/api/v2/agent/{agentId}/versions/{versionId}/restore?token=' \ --header 'Content-Type: application/json' \ --data ' { "target": "staging" } '
{ "success": true, "restored": {} }
Copy a stored snapshot into the staging (default) slot.
Vida API Token
Agent Id
Epoch-ms score of the snapshot
staging
default
Snapshot restored
true
The campaign object now occupying the target slot