Skip to main content
POST
List Agent Versions
Use this API to fetch the version history for a custom agent. A new version is created automatically on every Update Agent Version call. Versions are returned newest-first (descending by version number). Each version is a behavioral snapshot of the agent at that point in time — identity fields (name, description, enabled, managedBy) live on the root agent document and are not part of version snapshots. Any auth secrets in a version snapshot are redacted ("__redacted__") before the response is returned: both rest-api strategy secrets and mcp-tools server secrets (execution.mcpServers[].auth).

Endpoint

POST https://api.velt.dev/v2/agents/versions/list

Headers

x-velt-api-key
string
required
Your API key.
x-velt-auth-token
string
required

Body

Params

data
object
required

Example Requests

Response

Success Response

Failure Response

Errors: NOT_FOUND (Store database not found, or agent does not exist).