---
title: "Regenerate Task Comment"
method: POST
path: "/api/social-boost/drafts/{task_id}/regenerate-comment"
tags: ["social-boost", "social-boost"]
---

# Regenerate Task Comment

`POST /api/social-boost/drafts/{task_id}/regenerate-comment`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/social-boost/drafts/{task_id}/regenerate-comment`
- Auth: none declared

Regenerate the AI comment for a task with context from existing comments.

## Path parameters

- `task_id` integer, required

## Response `200`

Successful Response

- CommentGenerationResponse: AI comment generation result.
  - `comment` string, required
  - `model_used` string, required
  - `tokens_used` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/77bef09a9209?raw)
