---
title: "Regenerate task from template"
method: POST
path: "/v1/tasks/{taskId}/regenerate"
tags: ["Tasks"]
---

# Regenerate task from template

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

Update the task title, description, and automation status with the latest content from the framework template

## Path parameters

- `taskId` string, required

## Response `200`

Task regenerated successfully

## Other responses

- `400` — Task has no associated template
- `404` — Task not found

---

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