Skip to navigation

Updates a message.

Updates a message.

Path parameters

messageUUIDstringRequired
The UUID of the message.

Request

The updates.
metadatamap from strings to anyRequired
Metadata to store on the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars.

Response

The updated message.
contentstring
The content of the message.
roleenum

The role of message sender (e.g., "user", "system").

created_atstringOptional
The timestamp of when the message was created.
metadatamap from strings to anyOptional
The metadata associated with the message. Max 10 keys. Values must be strings, numbers, booleans, or arrays of scalars.
namestringOptional

Customizable name of the sender of the message (e.g., "john", "sales_agent").

processedbooleanOptional
Whether the message has been processed.
uuidstringOptional
The unique identifier of the message.

Errors

404
Not Found Error
500
Internal Server Error