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
200

A list of chat messages

application/json
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
200

Chat messages deleted successfully

No content

delete
/chatmessage/{id}

No content

Last updated