---
title: "Create evidence automation"
method: POST
path: "/v1/tasks/{taskId}/automations"
tags: ["Task Automations"]
---

# Create evidence automation

`POST /v1/tasks/{taskId}/automations`

Create an automated evidence workflow attached to a task so Comp AI can collect recurring proof from connected systems.

## Path parameters

- `taskId` string, required

## Response `201`

Automation created successfully

- object
  - `success` boolean
  - `automation` object
    - `id` string
    - `name` string

## Other responses

- `400` — Bad request - Invalid task ID or organization ID
- `401` — Unauthorized - Invalid authentication
- `404` — Task not found

---

[API](https://skmtc.net/trycompai/apis/comp-ai-api.md) · [All operations](https://skmtc.net/trycompai/apis/comp-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/trycompai/comp-ai-api/revisions/726b9523fb22/schema)
