Create a published version record for an automation
curl --request POST \
--url https://api.trycomp.ai/v1/tasks/{taskId}/automations/{automationId}/versions \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/automations/{automationId}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/tasks/{taskId}/automations/{automationId}/versions"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Task Automations
Create a published version record for an | Comp AI API
Create a published version record for an automation in Comp AI. Create, version, run, and inspect automated evidence collection workflows attached.
POST
/
v1
/
tasks
/
{taskId}
/
automations
/
{automationId}
/
versions
Create a published version record for an automation
curl --request POST \
--url https://api.trycomp.ai/v1/tasks/{taskId}/automations/{automationId}/versions \
--header 'X-API-Key: <api-key>'const options = {method: 'POST', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.trycomp.ai/v1/tasks/{taskId}/automations/{automationId}/versions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.trycomp.ai/v1/tasks/{taskId}/automations/{automationId}/versions"
headers = {"X-API-Key": "<api-key>"}
response = requests.post(url, headers=headers)
print(response.text)Was this page helpful?

