Skip to main content
POST
/
chat
/
streamChatV3
Stream chat response (v3)
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
}

Body

application/json
message
string
required
conversationId
string
studyMode
boolean
quizMode
boolean
teacherMode
boolean
model
string
systemContext
object
files
object[]
branchFrom
string
branchPointItemId
string
articleId
string

Response

Streaming chat events emitted.

event
any
required
data
object
required
id
string
retry
number