Skip to main content
POST
/
api
/
v2
/
agent
/
{agentId}
/
versions
/
{versionId}
Replace Stored Version
curl --request POST \
  --url 'https://api.vida.dev/api/v2/agent/{agentId}/versions/{versionId}?token=' \
  --header 'Content-Type: application/json' \
  --data '{
  "snapshot": {}
}'
{
  "success": true,
  "versionId": 1750195000123
}

Documentation Index

Fetch the complete documentation index at: https://vida.io/docs/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

token
string
query
required

Vida API Token

Path Parameters

agentId
string
required

Agent Id

versionId
string
required

Epoch-ms score identifying the snapshot

Body

application/json
snapshot
object
required

Full campaign JSON to store

Response

200 - application/json

Version replaced

success
boolean
Example:

true

versionId
integer
Example:

1750195000123