Initial messages

Assistant initial messages are shown in all new threads as a starting point.

Endpoints

Manage your assistant initial messages with these REST endpoints.

InitialMessage type

ParameterTypeDescription
idstringUnique identifier for the initial message
roleMessageRoleRole of the message (ASSISTANT, USER)
contentstringContent of the initial message
createdAtstringTimestamp when the initial message was created
updatedAtstringTimestamp when the initial message was last updated

MessageRole

Possible values for MessageRole are:
ASSISTANT
USER

Example initial message

const initialMessage = { id: '10cfe680-fee5-49b9-b386-6a7097eb8497', role: 'ASSISTANT', content: 'Hello! How can I assist you today?', createdAt: '2024-01-15T10:30:00Z', updatedAt: '2024-01-15T10:30:00Z', }