curl --request GET \
--url https://api.totebot.ai/v1/agents/{agentId}/readiness \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.totebot.ai/v1/agents/{agentId}/readiness"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.totebot.ai/v1/agents/{agentId}/readiness', 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://api.totebot.ai/v1/agents/{agentId}/readiness",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.totebot.ai/v1/agents/{agentId}/readiness"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.totebot.ai/v1/agents/{agentId}/readiness")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.totebot.ai/v1/agents/{agentId}/readiness")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"generatedAt": "<string>",
"from": "<string>",
"to": "<string>",
"agent": {
"id": "<string>",
"name": "<string>",
"knowledgePrefetchEnabled": true
},
"items": [
{
"key": "knowledge_failed",
"status": "ok",
"title": "<string>",
"detail": "<string>",
"count": 123,
"rate": 123,
"samples": [
{
"id": "<string>",
"name": "<string>"
}
],
"fix": "knowledge"
}
],
"model": {
"current": {
"id": "<string>",
"name": "<string>",
"provider": "OPENAI",
"creditMultiplier": 123
},
"costPerConversationUsd": 123,
"thisAgent": [
{
"modelId": "<string>",
"name": "<string>",
"creditMultiplier": 123,
"conversations": 123,
"customerMessages": 123,
"searchRate": 123,
"noSearchRate": 123,
"ratedReplies": 123,
"thumbsDownRate": 123,
"creditsPerConversation": 123
}
],
"platform": [
{
"modelId": "<string>",
"name": "<string>",
"provider": "OPENAI",
"creditMultiplier": 123,
"searchRate": 123,
"availableOnPlan": true
}
]
}
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}Get the setup readiness checklist
Failed and expired knowledge, knowledge no search returned in 30 days, open gaps, the test-question pass rate, the “check knowledge before every answer” setting with the measured share of messages answered without a knowledge search, and model advice: the credit multiplier (costPerConversationUsd is always null here; spend is shown in the dashboard only), per-model metrics for this agent (search rate, thumbs-down rate, credits per conversation) and how often each catalog model searches knowledge on its own across totebot. The gaps item lists sample questions (emails and phone numbers masked) only when the key has analytics:read and the plan includes knowledge gaps; otherwise its samples is empty. Every other item holds counts and knowledge source names only.
curl --request GET \
--url https://api.totebot.ai/v1/agents/{agentId}/readiness \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.totebot.ai/v1/agents/{agentId}/readiness"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.totebot.ai/v1/agents/{agentId}/readiness', 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://api.totebot.ai/v1/agents/{agentId}/readiness",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://api.totebot.ai/v1/agents/{agentId}/readiness"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.totebot.ai/v1/agents/{agentId}/readiness")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.totebot.ai/v1/agents/{agentId}/readiness")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"generatedAt": "<string>",
"from": "<string>",
"to": "<string>",
"agent": {
"id": "<string>",
"name": "<string>",
"knowledgePrefetchEnabled": true
},
"items": [
{
"key": "knowledge_failed",
"status": "ok",
"title": "<string>",
"detail": "<string>",
"count": 123,
"rate": 123,
"samples": [
{
"id": "<string>",
"name": "<string>"
}
],
"fix": "knowledge"
}
],
"model": {
"current": {
"id": "<string>",
"name": "<string>",
"provider": "OPENAI",
"creditMultiplier": 123
},
"costPerConversationUsd": 123,
"thisAgent": [
{
"modelId": "<string>",
"name": "<string>",
"creditMultiplier": 123,
"conversations": 123,
"customerMessages": 123,
"searchRate": 123,
"noSearchRate": 123,
"ratedReplies": 123,
"thumbsDownRate": 123,
"creditsPerConversation": 123
}
],
"platform": [
{
"modelId": "<string>",
"name": "<string>",
"provider": "OPENAI",
"creditMultiplier": 123,
"searchRate": 123,
"availableOnPlan": true
}
]
}
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}{
"status": "error",
"error": {
"code": "NotFoundException",
"message": "Agent not found",
"details": {}
},
"path": "/v1/agents/clx123",
"timestamp": "2026-11-24T10:00:00.000Z"
}