curl --request GET \
--url https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language', 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.orbit.devotel.io/api/v1/insights/agent-quality/by-language",
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.orbit.devotel.io/api/v1/insights/agent-quality/by-language"
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.orbit.devotel.io/api/v1/insights/agent-quality/by-language")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language")
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{
"data": {
"from": "2026-07-08T00:00:00.000Z",
"to": "2026-08-07T00:00:00.000Z",
"languages": [
{
"language": "es",
"total_conversations": 120,
"handed_off_count": 38,
"contained_count": 82,
"resolved_count": 70,
"containment_rate": 68.3,
"escalation_rate": 31.7,
"resolution_rate": 58.3,
"csat_count": 40,
"avg_csat": 3.8,
"sentiment_count": 90,
"positive_count": 40,
"neutral_count": 30,
"negative_count": 20,
"avg_sentiment": 0.21,
"net_sentiment": 22.2,
"evaluated_count": 60,
"eval_passed_count": 38,
"eval_pass_rate": 63.3
}
],
"totals": {
"language_count": 4,
"total_conversations": 842,
"handed_off_count": 210,
"contained_count": 632,
"resolved_count": 598,
"containment_rate": 75.1,
"escalation_rate": 24.9,
"resolution_rate": 71,
"csat_count": 300,
"avg_csat": 4.2,
"sentiment_count": 700,
"positive_count": 420,
"neutral_count": 180,
"negative_count": 100,
"avg_sentiment": 0.34,
"net_sentiment": 45.7,
"evaluated_count": 500,
"eval_passed_count": 410,
"eval_pass_rate": 82
}
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12:00:00.000Z"
}
}Get AI-agent quality segmented by conversation language
Segments containment, resolution, escalation, rubric eval pass-rate, CSAT, and sentiment by the conversation’s detected language, so a multilingual CX team can spot the locale the AI agent handles worse than its best-performing language. Read-only, tenant-scoped, defaults to a trailing 30-day window.
curl --request GET \
--url https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language', 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.orbit.devotel.io/api/v1/insights/agent-quality/by-language",
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.orbit.devotel.io/api/v1/insights/agent-quality/by-language"
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.orbit.devotel.io/api/v1/insights/agent-quality/by-language")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.orbit.devotel.io/api/v1/insights/agent-quality/by-language")
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{
"data": {
"from": "2026-07-08T00:00:00.000Z",
"to": "2026-08-07T00:00:00.000Z",
"languages": [
{
"language": "es",
"total_conversations": 120,
"handed_off_count": 38,
"contained_count": 82,
"resolved_count": 70,
"containment_rate": 68.3,
"escalation_rate": 31.7,
"resolution_rate": 58.3,
"csat_count": 40,
"avg_csat": 3.8,
"sentiment_count": 90,
"positive_count": 40,
"neutral_count": 30,
"negative_count": 20,
"avg_sentiment": 0.21,
"net_sentiment": 22.2,
"evaluated_count": 60,
"eval_passed_count": 38,
"eval_pass_rate": 63.3
}
],
"totals": {
"language_count": 4,
"total_conversations": 842,
"handed_off_count": 210,
"contained_count": 632,
"resolved_count": 598,
"containment_rate": 75.1,
"escalation_rate": 24.9,
"resolution_rate": 71,
"csat_count": 300,
"avg_csat": 4.2,
"sentiment_count": 700,
"positive_count": 420,
"neutral_count": 180,
"negative_count": 100,
"avg_sentiment": 0.34,
"net_sentiment": 45.7,
"evaluated_count": 500,
"eval_passed_count": 410,
"eval_pass_rate": 82
}
},
"meta": {
"request_id": "req_01J8Z9K3P4Q5R6S7T8U9V0W1X2",
"timestamp": "2026-08-07T12:00:00.000Z"
}
}Authorizations
Dashboard JWT token from Clerk
Query Parameters
Window start, ISO-8601 with offset. Defaults to 30 days before to. Range is capped at 365 days.
Window end, ISO-8601 with offset. Defaults to now.
Max language rows returned (1-50, default 50). Totals always cover every detected language, not just the returned page.
Response
Per-language containment/resolution/escalation rates, eval pass-rate, CSAT, and sentiment, plus totals across every detected language.
The response is of type object.