chat

Add Message To Conversation

Add a message to a conversation without triggering the LLM.

Used for ask_user interactions where the browser agent asks a question and the user responds - these should be persisted in chat history.

Messages are stored in the conversation_auxiliary_messages table.

post/api/chat/conversations/{conversation_id}/messages

Path parameters

conversation_idstring required

Request body

product_idstring required
conversation_idstring required
rolestring required
contentstring required
identity_tokenstring nullable

Response

Successful Response

{"stackTrail":"paths:/api/chat/conversations/{conversation_id}/messages:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}

Changes