Start deep research job
curl --request POST \
--url http://api.superwize.ai/api/chat/startDeepResearch \
--header 'Content-Type: application/json' \
--data '
{
"message": "What are the main causes of climate change?",
"conversationId": "conv_01JHKYW2V8XQ123456789",
"model": "meetkai:functionary-urdu-mini-pak",
"images": [
{
"imageUrl": "https://cdn.superwize.ai/assets/sample.png",
"detail": "auto"
}
]
}
'import requests
url = "http://api.superwize.ai/api/chat/startDeepResearch"
payload = {
"message": "What are the main causes of climate change?",
"conversationId": "conv_01JHKYW2V8XQ123456789",
"model": "meetkai:functionary-urdu-mini-pak",
"images": [
{
"imageUrl": "https://cdn.superwize.ai/assets/sample.png",
"detail": "auto"
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
message: 'What are the main causes of climate change?',
conversationId: 'conv_01JHKYW2V8XQ123456789',
model: 'meetkai:functionary-urdu-mini-pak',
images: [{imageUrl: 'https://cdn.superwize.ai/assets/sample.png', detail: 'auto'}]
})
};
fetch('http://api.superwize.ai/api/chat/startDeepResearch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.superwize.ai/api/chat/startDeepResearch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'message' => 'What are the main causes of climate change?',
'conversationId' => 'conv_01JHKYW2V8XQ123456789',
'model' => 'meetkai:functionary-urdu-mini-pak',
'images' => [
[
'imageUrl' => 'https://cdn.superwize.ai/assets/sample.png',
'detail' => 'auto'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://api.superwize.ai/api/chat/startDeepResearch"
payload := strings.NewReader("{\n \"message\": \"What are the main causes of climate change?\",\n \"conversationId\": \"conv_01JHKYW2V8XQ123456789\",\n \"model\": \"meetkai:functionary-urdu-mini-pak\",\n \"images\": [\n {\n \"imageUrl\": \"https://cdn.superwize.ai/assets/sample.png\",\n \"detail\": \"auto\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://api.superwize.ai/api/chat/startDeepResearch")
.header("Content-Type", "application/json")
.body("{\n \"message\": \"What are the main causes of climate change?\",\n \"conversationId\": \"conv_01JHKYW2V8XQ123456789\",\n \"model\": \"meetkai:functionary-urdu-mini-pak\",\n \"images\": [\n {\n \"imageUrl\": \"https://cdn.superwize.ai/assets/sample.png\",\n \"detail\": \"auto\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.superwize.ai/api/chat/startDeepResearch")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"message\": \"What are the main causes of climate change?\",\n \"conversationId\": \"conv_01JHKYW2V8XQ123456789\",\n \"model\": \"meetkai:functionary-urdu-mini-pak\",\n \"images\": [\n {\n \"imageUrl\": \"https://cdn.superwize.ai/assets/sample.png\",\n \"detail\": \"auto\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"conversationId": "conv_01JHKYW2V8XQ123456789",
"responseId": "resp_01JHKYW6J6AB123456789",
"status": "active"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Authentication is required to access this endpoint.",
"data": "<unknown>"
}{
"defined": true,
"code": "FORBIDDEN",
"status": 403,
"message": "The action is not allowed or requires more credits.",
"data": {
"code": "INSUFFICIENT_CREDITS",
"required": 1,
"dailyBalance": 250,
"bonusBalance": 250,
"resetsAt": "2026-01-02T00:00:00.000Z"
}
}{
"defined": true,
"code": "INTERNAL_SERVER_ERROR",
"status": 500,
"message": "Unexpected server error.",
"data": {}
}Chat
Start deep research job
Starts a deep-research run in background mode and returns identifiers so clients can poll or subscribe for status.
POST
/
chat
/
startDeepResearch
Start deep research job
curl --request POST \
--url http://api.superwize.ai/api/chat/startDeepResearch \
--header 'Content-Type: application/json' \
--data '
{
"message": "What are the main causes of climate change?",
"conversationId": "conv_01JHKYW2V8XQ123456789",
"model": "meetkai:functionary-urdu-mini-pak",
"images": [
{
"imageUrl": "https://cdn.superwize.ai/assets/sample.png",
"detail": "auto"
}
]
}
'import requests
url = "http://api.superwize.ai/api/chat/startDeepResearch"
payload = {
"message": "What are the main causes of climate change?",
"conversationId": "conv_01JHKYW2V8XQ123456789",
"model": "meetkai:functionary-urdu-mini-pak",
"images": [
{
"imageUrl": "https://cdn.superwize.ai/assets/sample.png",
"detail": "auto"
}
]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
message: 'What are the main causes of climate change?',
conversationId: 'conv_01JHKYW2V8XQ123456789',
model: 'meetkai:functionary-urdu-mini-pak',
images: [{imageUrl: 'https://cdn.superwize.ai/assets/sample.png', detail: 'auto'}]
})
};
fetch('http://api.superwize.ai/api/chat/startDeepResearch', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "http://api.superwize.ai/api/chat/startDeepResearch",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'message' => 'What are the main causes of climate change?',
'conversationId' => 'conv_01JHKYW2V8XQ123456789',
'model' => 'meetkai:functionary-urdu-mini-pak',
'images' => [
[
'imageUrl' => 'https://cdn.superwize.ai/assets/sample.png',
'detail' => 'auto'
]
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "http://api.superwize.ai/api/chat/startDeepResearch"
payload := strings.NewReader("{\n \"message\": \"What are the main causes of climate change?\",\n \"conversationId\": \"conv_01JHKYW2V8XQ123456789\",\n \"model\": \"meetkai:functionary-urdu-mini-pak\",\n \"images\": [\n {\n \"imageUrl\": \"https://cdn.superwize.ai/assets/sample.png\",\n \"detail\": \"auto\"\n }\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("http://api.superwize.ai/api/chat/startDeepResearch")
.header("Content-Type", "application/json")
.body("{\n \"message\": \"What are the main causes of climate change?\",\n \"conversationId\": \"conv_01JHKYW2V8XQ123456789\",\n \"model\": \"meetkai:functionary-urdu-mini-pak\",\n \"images\": [\n {\n \"imageUrl\": \"https://cdn.superwize.ai/assets/sample.png\",\n \"detail\": \"auto\"\n }\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("http://api.superwize.ai/api/chat/startDeepResearch")
http = Net::HTTP.new(url.host, url.port)
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"message\": \"What are the main causes of climate change?\",\n \"conversationId\": \"conv_01JHKYW2V8XQ123456789\",\n \"model\": \"meetkai:functionary-urdu-mini-pak\",\n \"images\": [\n {\n \"imageUrl\": \"https://cdn.superwize.ai/assets/sample.png\",\n \"detail\": \"auto\"\n }\n ]\n}"
response = http.request(request)
puts response.read_body{
"success": true,
"conversationId": "conv_01JHKYW2V8XQ123456789",
"responseId": "resp_01JHKYW6J6AB123456789",
"status": "active"
}{
"defined": "<unknown>",
"code": "<unknown>",
"status": "<unknown>",
"message": "Authentication is required to access this endpoint.",
"data": "<unknown>"
}{
"defined": true,
"code": "FORBIDDEN",
"status": 403,
"message": "The action is not allowed or requires more credits.",
"data": {
"code": "INSUFFICIENT_CREDITS",
"required": 1,
"dailyBalance": 250,
"bonusBalance": 250,
"resetsAt": "2026-01-02T00:00:00.000Z"
}
}{
"defined": true,
"code": "INTERNAL_SERVER_ERROR",
"status": 500,
"message": "Unexpected server error.",
"data": {}
}⌘I