Task Automations

Create a published version record for an automation

Changed on

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

Request

  • Base URL
    https://api.trycomp.ai
  • Auth
    API key in header X-API-Key

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"
}

Changes