Skip to main content
POST
/
v2
/
agents
/
versions
/
list
List Agent Versions
curl --request POST \
  --url https://api.velt.dev/v2/agents/versions/list \
  --header 'Content-Type: application/json' \
  --header 'x-velt-api-key: <x-velt-api-key>' \
  --header 'x-velt-auth-token: <x-velt-auth-token>' \
  --data '
{
  "data": {
    "agentId": "<string>"
  }
}
'
{
  "result": {
    "status": "success",
    "message": "Versions listed successfully",
    "data": {
      "versions": []
    }
  }
}

Documentation Index

Fetch the complete documentation index at: https://velt-raghul-agent-docs.mintlify.app/llms.txt

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

Use this API to fetch the version history for a custom agent. A new version is automatically created on every behavioral update via Update Agent Version. Versions are ordered descending (newest first) and contain the full behavioral snapshot at that point in time.

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

List versions for an agent

{
  "data": {
    "agentId": "abc123def456"
  }
}

Response

Success Response

{
  "result": {
    "status": "success",
    "message": "Versions listed successfully",
    "data": {
      "versions": [
        {
          "id": "3",
          "version": 3,
          "createdAt": 1711900000000,
          "name": "Brand Consistency Checker",
          "description": "Validates brand colors, logos, and typography across pages",
          "instructions": "Check headings use 'Inter' font. Verify #1A73E8 on all CTAs and links. Check footer uses 'Inter' for body text.",
          "contextGathering": {
            "strategies": ["web-page-text", "web-page-screenshot", "web-page-html"]
          },
          "execution": {
            "executionStrategy": "ai",
            "responseDescriptions": {
              "title": "Short name for the brand inconsistency",
              "severity": "One of: critical, high, medium, low, info"
            }
          },
          "postProcess": {
            "guardrails": { "enabled": true },
            "matchAndMerge": { "enabled": true }
          }
        },
        {
          "id": "2",
          "version": 2,
          "createdAt": 1711800000000,
          "name": "Brand Consistency Checker",
          "description": "Validates brand colors and typography",
          "instructions": "Check headings use 'Inter' font. Verify #1A73E8 on all CTAs and links.",
          "contextGathering": { "strategies": ["web-page-text", "web-page-screenshot"] },
          "execution": { "executionStrategy": "ai" },
          "postProcess": { "guardrails": { "enabled": true } }
        },
        {
          "id": "1",
          "version": 1,
          "createdAt": 1711700000000,
          "name": "Brand Consistency Checker",
          "instructions": "Check headings use Inter font...",
          "contextGathering": { "strategies": ["web-page-text"] }
        }
      ]
    }
  }
}
FieldTypeDescription
data.versionsobject[]Version snapshots ordered descending by version
Each entry contains the full behavioral snapshot of the agent at that version.

Failure Response

{
  "error": {
    "message": "ERROR_MESSAGE",
    "status": "NOT_FOUND"
  }
}
Errors: NOT_FOUND (agent or store database not found).
{
  "result": {
    "status": "success",
    "message": "Versions listed successfully",
    "data": {
      "versions": []
    }
  }
}