curl --request POST \
--url https://api.vida.dev/api/v2/agent/{agentId}/versions/{versionId}/restore \
--header 'Content-Type: application/json' \
--data '{
"target": "staging"
}'
{
"success": true,
"restored": {}
}
Copy a stored snapshot into the staging (default) slot.
curl --request POST \
--url https://api.vida.dev/api/v2/agent/{agentId}/versions/{versionId}/restore \
--header 'Content-Type: application/json' \
--data '{
"target": "staging"
}'
{
"success": true,
"restored": {}
}
Vida API Token
Snapshot restored
The response is of type object
.