v56

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-014121451.1 MB
Task Automations

Create a published version record for an automation

Create a published version record for an automation in Comp AI. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.

post/v1/tasks/{taskId}/automations/{automationId}/versions

Path parameters

taskIdstring required

Task ID

automationIdstring required

Automation ID

Request body

versionnumber required

Version number for this published script

scriptKeystring required

S3 key of the already-generated & published automation script (returned by the publish step).

changelogstring

Optional changelog describing this version

Example request

{
  "version": 1,
  "scriptKey": "org_abc123/tsk_abc123/aut_abc123.v1.js"
}