Updates the metadata of a message.

Deprecated
Updates the metadata of a message.

Path parameters

sessionIdstringRequired
The ID of the session.
messageUUIDstringRequired
The UUID of the message.

Request

This endpoint expects an object.
metadatamap from strings to anyRequired
Deprecated

Response

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

The type of the role (e.g., “user”, “system”).

created_atstring or null
The timestamp of when the message was created.
metadatamap from strings to any or null
The metadata associated with the message.
processedboolean or null
Whether the message has been processed.
rolestring or null

Customizable role of the sender of the message (e.g., “john”, “sales_agent”).

token_countinteger or null
Deprecated
updated_atstring or null
Deprecated
uuidstring or null
The unique identifier of the message.

Errors