curl --request GET \
--url https://api.example.com/api/v1/chatmessage/{chatflowId}/{chatId}/{memoryType}{
"401": {},
"404": {},
"412": {},
"500": {},
"id": "<string>",
"role": "<string>",
"content": "<string>",
"chatflowid": "<string>",
"chatId": "<string>",
"memoryType": "<string>",
"sessionId": "<string>",
"createdDate": {},
"sourceDocuments": [
{}
],
"usedTools": [
{}
],
"agentReasoning": [
{}
]
}curl --request GET \
--url https://api.example.com/api/v1/chatmessage/{chatflowId}/{chatId}/{memoryType}{
"401": {},
"404": {},
"412": {},
"500": {},
"id": "<string>",
"role": "<string>",
"content": "<string>",
"chatflowid": "<string>",
"chatId": "<string>",
"memoryType": "<string>",
"sessionId": "<string>",
"createdDate": {},
"sourceDocuments": [
{}
],
"usedTools": [
{}
],
"agentReasoning": [
{}
]
}buffer, window, summary)user or assistantcurl -X GET \
'https://your-flowise-instance.com/api/v1/chatmessage/abc123-def456/session-xyz/buffer' \
-H 'Authorization: Bearer YOUR_API_KEY'
[
{
"id": "msg-001",
"role": "user",
"content": "Tell me about your capabilities",
"chatflowid": "abc123-def456",
"chatId": "session-xyz",
"memoryType": "buffer",
"sessionId": "sess-123",
"createdDate": "2024-01-20T15:30:00Z"
},
{
"id": "msg-002",
"role": "assistant",
"content": "I'm an AI assistant that can help with various tasks...",
"chatflowid": "abc123-def456",
"chatId": "session-xyz",
"memoryType": "buffer",
"sessionId": "sess-123",
"createdDate": "2024-01-20T15:30:03Z"
}
]