---
title: "Regenerate"
method: POST
path: "/api/conversations/{conversation_id}/regenerate"
tags: ["chat"]
---

# Regenerate

`POST /api/conversations/{conversation_id}/regenerate`

## Request

- Base URL: `https://app.myriade.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.myriade.ai/api/conversations/{conversation_id}/regenerate`
- Auth: none declared

Regenerate conversation from a specific message.
Starts background task and returns immediately.

Request body: {"message_id": "uuid", "message": "optional new content"}

Events are broadcast to SSE room:
- message_updated: {updated message if content changed}
- delete_message: {deleted message id}
- text, tool_started, tool_delta: streaming events
- message: {new conversation messages}
- done: {}

## Path parameters

- `conversation_id` string, required

## Cookies

- `session` string, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/myriade/apis/myriade-bi-api.md) · [All operations](https://skmtc.dev/myriade/apis/myriade-bi-api/llms.txt) · [OpenAPI document](https://skmtc.dev/myriade/apis/myriade-bi-api/revisions/15b7cb96ca80?raw)
