Create conversation message branch

http
POST /conversations/{conversation_id}/messages/{message_id}/branches

Create a sibling of a message with new parts when the user edits an earlier message and wants to keep the original reply; the new message gets the parent and role of the original and becomes the selected branch.

Parameters

NameInRequiredDescription
conversation_idpathYes
message_idpathYes

Request body

FieldTypeRequiredDescription
composing_user_idstring
partsarrayYes

Responses

StatusDescription
201Created sibling message
400Bad request
401Unauthorized
403Forbidden
404Not found
413Payload too large
500Server error
503internal: authentication state is temporarily unavailable and the request was not processed; retry shortly.