Skip to main content
POST
/
api
/
v1
/
conversations
/
{conversation_id}
/
regenerate
Regenerate Last Message
curl --request POST \
  --url https://api.example.com/api/v1/conversations/{conversation_id}/regenerate/ \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "node_ids": [
    {
      "node_id": "<string>",
      "name": "<string>"
    }
  ]
}
'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

conversation_id
string
required

Query Parameters

stream
boolean
default:true

Whether to stream the response

session_id
string | null

Session ID for reconnection

prev_human_message_id
string | null

Previous human message ID for deterministic session ID

cursor
string | null

Stream cursor for replay

background
boolean
default:true

Use background execution (recommended)

Body

application/json
node_ids
NodeContext · object[] | null

Response

Successful Response