curl --request POST \
--url 'https://api.vida.dev/api/v2/agent/{agentId}/versions?token=' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Holiday-2025",
"source": "staging"
}
'{
"success": true,
"createdVersion": {
"title": "Holiday-2025",
"versionId": 1750195000123
}
}Snapshot the current staging or default agent and store it under a custom title.
curl --request POST \
--url 'https://api.vida.dev/api/v2/agent/{agentId}/versions?token=' \
--header 'Content-Type: application/json' \
--data '
{
"title": "Holiday-2025",
"source": "staging"
}
'{
"success": true,
"createdVersion": {
"title": "Holiday-2025",
"versionId": 1750195000123
}
}Vida API Token
Agent Id to snapshot