---
title: "Get all versions for an automation"
method: GET
path: "/v1/tasks/{taskId}/automations/{automationId}/versions"
tags: ["Task Automations"]
---

# Get all versions for an automation

`GET /v1/tasks/{taskId}/automations/{automationId}/versions`

Get all versions for an automation in Betayum. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.

## Path parameters

- `taskId` string, required
- `automationId` string, required

## Query parameters

- `limit` string, required
- `offset` string, required

## Response `200`

Versions retrieved successfully

- object
  - `success` boolean
  - `versions` object[]
    - `id` string
    - `version` number
    - `scriptKey` string
    - `changelog` string, nullable
    - `publishedBy` string, nullable
    - `createdAt` string, date-time

## Changes

- **2026-03-05** `946edaa856a9` — 1 warning
  - deleted the `header` request parameter `X-Organization-Id`

[Change history](https://skmtc.dev/om-network/apis/betayum-api/changes/v1/tasks/:taskId/automations/:automationId/versions/get.md)

---

[API](https://skmtc.dev/om-network/apis/betayum-api.md) · [All operations](https://skmtc.dev/om-network/apis/betayum-api/llms.txt) · [OpenAPI document](https://skmtc.dev/om-network/apis/betayum-api/revisions/95679a9aa625?raw)
