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.
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": {}
}Vida API Token
staging, default