跳到主要内容

Update Message

Update Message

Path Parameters
message_id uuid — REQUIRED
Request Body — REQUIRED
text Text
sender Sender
sender_name Sender Name
session_id Session Id
files Files
edit Edit
error Error
properties
Responses
200

Successful Response

Schema — OPTIONAL
timestamp date-time — OPTIONAL
sender Sender
sender_name Sender Name
session_id Session Id
text Text
files string[] — OPTIONAL
error Error — OPTIONAL
edit Edit — OPTIONAL
properties object — OPTIONAL
text_color Text Color — OPTIONAL
background_color Background Color — OPTIONAL
edited Edited — OPTIONAL
source object — OPTIONAL
id Id — OPTIONAL

The id of the source component.

display_name Display Name — OPTIONAL

The display name of the source component.

source Source — OPTIONAL

The source of the message. Normally used to display the model name (e.g. 'gpt-4o')

icon Icon — OPTIONAL
allow_markdown Allow Markdown — OPTIONAL
positive_feedback Positive Feedback — OPTIONAL
state State — OPTIONAL

Possible values: [partial, complete]

targets undefined[] — OPTIONAL
category Category — OPTIONAL
content_blocks object[] — OPTIONAL
title Title
contents object[]
allow_markdown Allow Markdown — OPTIONAL
media_url Media Url — OPTIONAL
id uuid
flow_id Flow Id
422

Validation Error

Schema — OPTIONAL
detail object[] — OPTIONAL
loc undefined[]
msg Message
type Error Type
Search