Skip to main content
POST
/
api
/
v1
/
conversations
/
{conversation_id}
/
regenerate
/
{
  "id": "<string>",
  "conversation_id": "<string>",
  "content": "<string>",
  "sender_id": "<string>",
  "type": "AI_GENERATED",
  "reason": "<string>",
  "created_at": "2023-11-07T05:31:56Z",
  "status": "ACTIVE",
  "citations": [
    "<string>"
  ],
  "has_attachments": false,
  "attachments": [
    {
      "id": "<string>",
      "attachment_type": "image",
      "file_name": "<string>",
      "mime_type": "<string>",
      "file_size": 123,
      "storage_path": "<string>",
      "storage_provider": "local",
      "file_metadata": {},
      "created_at": "2023-11-07T05:31:56Z",
      "download_url": "<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

Body

application/json
node_ids
NodeContext · object[] | null

Response

Successful Response

id
string
required
conversation_id
string
required
content
string
required
type
enum<string>
required
Available options:
AI_GENERATED,
HUMAN,
SYSTEM_GENERATED
created_at
string<date-time>
required
status
enum<string>
required
Available options:
ACTIVE,
ARCHIVED,
DELETED
sender_id
string | null
reason
string | null
citations
string[] | null
has_attachments
boolean
default:false
attachments
AttachmentInfo · object[] | null
I