List Agent Versions

Lists saved snapshots stored for the live configuration. Use the live agentConfigId returned by GET /api/v2/agentEventRules/default. Pass includeData=true to include each full snapshot.

OpenAPI

````yaml get /api/v2/agent/{agentConfigId}/versions
openapi: 3.0.0
info:
version: 2.0.0
title: GetVoiceBot API
description: GetVoiceBot API Documentation
servers:
- url: https://api.getvoicebot.com
description: GetVoiceBot Production
variables:
baseUrl:
default: api.getvoicebot.com
description: Production API Root
security: []
tags:
- name: Agents
- name: Inbound Email
description: Control which senders may create inbound email work for an Agent.
- name: Features
description: Inspect capabilities available within an account hierarchy.
- name: Conversation Logs
description: Query conversation activity and calculate account-level metrics.
- name: Computer Agents
description: Set up, configure, inspect, and manage GetVoiceBot Computer Agents.
- name: Computer Agent Sessions
description: View and reset Computer Agent sessions.
- name: Accounts
- name: Agent Templates
description: Create, manage, and apply reusable Agent configurations.
paths:
/api/v2/agent/{agentConfigId}/versions:
get:
tags:
- Agents
summary: List Agent Versions
description: >-
Lists saved snapshots stored for the live configuration. Use the live
agentConfigId returned by GET /api/v2/agentEventRules/default. Pass
includeData=true to include each full snapshot.
parameters:
- name: agentConfigId
in: path
required: true
schema:
type: string
description: Live agent configuration ID whose saved versions should be listed.
example: campa3cfdc312750b193de0...
- name: includeData
in: query
description: >-
If true the response includes the entire snapshot JSON for each
version.
required: false
example: 'true'
schema:
type: boolean
- name: targetAccountId
in: query
description: Account that owns the agent configuration.
required: true
schema:
type: integer
responses:
'200':
description: Successful response
content:
application/json:
schema:
type: object
properties:
success:
type: boolean
example: true
versions:
type: array
items:
type: object
properties:
title:
type: string
example: Auto-1750194180352
versionId:
type: integer
example: 1750194180352
snapshot:
type: object
description: Only present when includeData=true
security:
- apiKeyAuth: []
components:
securitySchemes:
apiKeyAuth:
type: apiKey
in: query
name: token
description: GetVoiceBot API Token

````