Create conversation message

http
POST /conversations/{conversation_id}/messages

Add a user message to a conversation to send what the user typed; the parent message defaults to the selected branch and an idempotency key makes retries safe.

Parameters

NameInRequiredDescription
conversation_idpathYes

Request body

FieldTypeRequiredDescription
composing_user_idstring
parent_idstring
rolestringYes
partsarrayYes
idempotency_keystring
metadataobject

Responses

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