curl --request POST \
--url http://api.superwize.ai/api/chat/streamChatV3 \
--header 'Content-Type: application/json' \
--data '
{
"message": "What are the main causes of climate change?",
"conversationId": "conv_01JHKYW2V8XQ123456789",
"studyMode": true,
"quizMode": true,
"teacherMode": true,
"model": "meetkai:functionary-urdu-mini-pak",
"systemContext": {},
"files": [
{
"fileId": "file_01JHKZ06R8OP123456789",
"mimeType": "image/png",
"filename": "Primary Key"
}
],
"branchFrom": "conv_01JHKYW2V8XQ123456700",
"branchPointItemId": "obj_01JHKZ0PV2WX123456789",
"articleId": "obj_01JHKZ0PV2WX123456789"
}
'{
"event": "message",
"data": {
"type": "conversation.created",
"conversationId": "conv_01JHKYW2V8XQ123456789"
},
"id": "obj_01JHKZ0PV2WX123456789",
"retry": 3000
}Current streaming chat endpoint for clients on API >= 1.1.2. Supports uploaded files, branching context, and tool execution.
curl --request POST \
--url http://api.superwize.ai/api/chat/streamChatV3 \
--header 'Content-Type: application/json' \
--data '
{
"message": "What are the main causes of climate change?",
"conversationId": "conv_01JHKYW2V8XQ123456789",
"studyMode": true,
"quizMode": true,
"teacherMode": true,
"model": "meetkai:functionary-urdu-mini-pak",
"systemContext": {},
"files": [
{
"fileId": "file_01JHKZ06R8OP123456789",
"mimeType": "image/png",
"filename": "Primary Key"
}
],
"branchFrom": "conv_01JHKYW2V8XQ123456700",
"branchPointItemId": "obj_01JHKZ0PV2WX123456789",
"articleId": "obj_01JHKZ0PV2WX123456789"
}
'{
"event": "message",
"data": {
"type": "conversation.created",
"conversationId": "conv_01JHKYW2V8XQ123456789"
},
"id": "obj_01JHKZ0PV2WX123456789",
"retry": 3000
}Streaming chat events emitted.
Show child attributes