githubEdit

Chat Message

List all chat messages

get

Retrieve all chat messages for a specific chatflow.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Chatflow ID

Query parameters
chatTypestring · enumOptional

Filter by chat type

Possible values:
orderstring · enumOptional

Sort order

Possible values:
chatIdstringOptional

Filter by chat ID

memoryTypestringOptional

Filter by memory type

Example: Buffer Memory
sessionIdstringOptional

Filter by session ID

startDatestring · date-timeOptional

Filter by start date

Example: 2025-01-01T11:28:36.000Z
endDatestring · date-timeOptional

Filter by end date

Example: 2025-01-13T11:28:36.000Z
feedbackbooleanOptional

Filter by feedback

feedbackTypestring · enumOptional

Filter by feedback type. Only applicable if feedback is true

Possible values:
Responses
chevron-right
200

A list of chat messages

application/json
idstring · uuidOptionalExample: d290f1ee-6c54-4b01-90e6-d701748f0851
rolestring · enumOptionalExample: apiMessagePossible values:
chatflowidstring · uuidOptionalExample: d290f1ee-6c54-4b01-90e6-d701748f0852
contentstringOptionalExample: Hello, how can I help you today?
chatTypestring · enumOptionalExample: INTERNALPossible values:
chatIdstringOptionalExample: chat12345
memoryTypestring · nullableOptional
sessionIdstring · nullableOptional
createdDatestring · date-timeOptionalExample: 2024-08-24T14:15:22Z
leadEmailstring · nullableOptionalExample: [email protected]
get
/chatmessage/{id}

Delete all chat messages

delete

Delete all chat messages for a specific chatflow.

Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
idstringRequired

Chatflow ID

Query parameters
chatIdstringOptional

Filter by chat ID

memoryTypestringOptional

Filter by memory type

Example: Buffer Memory
sessionIdstringOptional

Filter by session ID

chatTypestring · enumOptional

Filter by chat type

Possible values:
startDatestringOptional

Filter by start date

Example: 2025-01-01T11:28:36.000Z
endDatestringOptional

Filter by end date

Example: 2025-01-13T11:28:36.000Z
feedbackTypestring · enumOptional

Filter by feedback type

Possible values:
hardDeletebooleanOptional

If hardDelete is true, messages will be deleted from the third party service as well

Responses
chevron-right
200

Chat messages deleted successfully

No content

delete
/chatmessage/{id}

No content

Last updated