Get all versions for an automation
GET
/v1/tasks/{taskId}/automations/{automationId}/versions
const url = 'https://api.varman.io/v1/tasks/example/automations/example/versions?limit=example&offset=example';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.varman.io/v1/tasks/example/automations/example/versions?limit=example&offset=example' \ --header 'X-API-Key: <X-API-Key>'Get all versions for an automation in Varman. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”taskId
required
string
Task ID
automationId
required
string
Automation ID
Query Parameters
Section titled “Query Parameters”limit
required
string
offset
required
string
Responses
Section titled “Responses”Versions retrieved successfully
Media typeapplication/json
object
success
boolean
versions
Array<object>
object
id
string
version
number
scriptKey
string
changelog
string
publishedBy
string
createdAt
string format: date-time
Example generated
{ "success": true, "versions": [ { "id": "example", "version": 1, "scriptKey": "example", "changelog": "example", "publishedBy": "example", "createdAt": "2026-04-15T12:00:00Z" } ]}