Task Automations
Update an existing automation
Changed onUpdate an existing automation in Comp AI. Create, version, run, and inspect automated evidence collection workflows attached to compliance tasks.
patch/v1/tasks/{taskId}/automations/{automationId}
Request
- Base URLhttps://api.trycomp.ai
- AuthAPI key in header X-API-Key
Path parameters
taskIdstring required
Example:tsk_abc123def456
Unique task identifier
automationIdstring required
Example:auto_abc123def456
Unique automation identifier
Request body
Example request
{
"name": "GitHub Security Check - Evidence Collection",
"description": "Collects evidence about GitHub repository security settings"
}Response
Automation updated successfully
Example response
{
"success": true,
"automation": {
"id": "auto_abc123def456",
"name": "Updated Automation Name",
"description": "Updated description"
}
}Changes
- info
the endpoint scheme security
oauth2was removed from the API
- info
- info
the endpoint scheme security
oauth2was added to the API
- info