Chat Message
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 · enumOptionalPossible values:
Filter by chat type
orderstring · enumOptionalPossible values:
Sort order
chatIdstringOptional
Filter by chat ID
memoryTypestringOptionalExample:
Filter by memory type
Buffer MemorysessionIdstringOptional
Filter by session ID
startDatestring · date-timeOptionalExample:
Filter by start date
2025-01-01T11:28:36.000ZendDatestring · date-timeOptionalExample:
Filter by end date
2025-01-13T11:28:36.000ZfeedbackbooleanOptional
Filter by feedback
feedbackTypestring · enumOptionalPossible values:
Filter by feedback type. Only applicable if feedback is true
Responses
200
A list of chat messages
application/json
500
Internal error
get
/chatmessage/{id}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
memoryTypestringOptionalExample:
Filter by memory type
Buffer MemorysessionIdstringOptional
Filter by session ID
chatTypestring · enumOptionalPossible values:
Filter by chat type
startDatestringOptionalExample:
Filter by start date
2025-01-01T11:28:36.000ZendDatestringOptionalExample:
Filter by end date
2025-01-13T11:28:36.000ZfeedbackTypestring · enumOptionalPossible values:
Filter by feedback type
hardDeletebooleanOptional
If hardDelete is true, messages will be deleted from the third party service as well
Responses
200
Chat messages deleted successfully
No content
400
Invalid parameters
404
Chat messages not found
500
Internal error
delete
/chatmessage/{id}No content
Last updated