List logs in Results
curl --request GET \
--url https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logsimport requests
url = "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs', 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 => "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs")
.asString();require 'uri'
require 'net/http'
url = URI("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"logs": [
{}
]
}Results
List logs in Results
Endpoint to list logs from a result
GET
/
api
/
v1
/
toolzz
/
{typebotId}
/
results
/
{resultId}
/
logs
List logs in Results
curl --request GET \
--url https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logsimport requests
url = "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs', 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 => "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs")
.asString();require 'uri'
require 'net/http'
url = URI("https://bots.toolzz.ai/api/v1/toolzz/{typebotId}/results/{resultId}/logs")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"logs": [
{}
]
}Parameters
string
required
The ID of the toolzz bot to list logs from.
Parameters
string
required
The resultId is returned by the Start Chat endpoint or you can find it by listing results with List a result endpoint
Response Description
Below you will see the description of the function list logs from a result.object[]
required
The logs data in a result.

