Add message to conversation

POST

Add a new message to a conversation.

This endpoint adds a new message to an existing conversation.

Path parameters

idstringRequired

The unique identifier of the conversation

Request

This endpoint expects an object.
contentstringRequired

The content of the message to add

rolestringRequired

The role of the message to add

parent_idstringOptional

The ID of the parent message, if any

metadatamap from strings to optional stringsOptional

Additional metadata for the message

Response

Successful Response

resultsobject

Errors

Built with