curl --request GET \
--url https://api.talkpilot.io/v1/agents/{agentId}/performance \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.talkpilot.io/v1/agents/{agentId}/performance"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.talkpilot.io/v1/agents/{agentId}/performance', 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.talkpilot.io/v1/agents/{agentId}/performance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.talkpilot.io/v1/agents/{agentId}/performance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.talkpilot.io/v1/agents/{agentId}/performance")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.talkpilot.io/v1/agents/{agentId}/performance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "9f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"call_id": "lk_call_abc123",
"caller_phone": "+491701234567",
"agent_phone_number": "+4930123456",
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"duration_seconds": 184,
"disconnect_reason": "user_hangup",
"session_status": "completed",
"e2e_latency_p90": 1.42,
"e2e_latency_median": 0.98,
"e2e_latency_min": 0.61,
"transcription_latency_p90": 0.31,
"transcription_latency_median": 0.22,
"transcription_latency_min": 0.14,
"llm_latency_p90": 0.82,
"llm_latency_median": 0.55,
"llm_latency_min": 0.33,
"tts_latency_p90": 0.29,
"tts_latency_median": 0.21,
"tts_latency_min": 0.12,
"llm_total_tokens": 4820,
"llm_prompt_tokens": 4120,
"llm_completion_tokens": 700,
"pre_call_variables": {
"caller_name": "Hans Meier"
},
"extracted_variables": {
"appointment_date": "2026-04-02"
},
"llm_provider": "openai",
"llm_model": "gpt-4o-mini",
"tts_provider": "elevenlabs",
"stt": "deepgram",
"pipeline_mode": "stt_llm_tts",
"created_at": "2026-03-19T10:30:00Z",
"final_result": {
"outcome": true,
"outcome_label": "success",
"final_score": 8,
"summary_reasoning": "Termin erfolgreich vereinbart, keine Rueckfragen offen."
},
"prompt_fingerprint": "3b1f0c9d8e7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c",
"assistant_misunderstood_multiple_times": {
"detected": false,
"reasoning": "Keine Rueckfragen des Assistenten notwendig.",
"score_impact": 0
},
"repeated_same_sentence": {
"detected": false,
"reasoning": "Keine Wiederholungen erkannt.",
"score_impact": 0
},
"abrupt_end_without_goodbye": {
"detected": false,
"reasoning": "Gespraech wurde regulaer beendet.",
"score_impact": 0
},
"connection_issue_repeated": {
"detected": false,
"reasoning": "Stabile Verbindung.",
"score_impact": 0
},
"assistant_policy_violation": {
"detected": false,
"reasoning": "Keine Richtlinienverstoesse.",
"score_impact": 0
},
"technical_error": {
"detected": false,
"reasoning": "Keine technischen Fehler.",
"score_impact": 0
},
"early_hangup_by_caller": {
"detected": false,
"reasoning": "Anrufer blieb bis zum Ende in der Leitung.",
"score_impact": 0
}
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 342,
"pages": 18
}
}List performance records
Returns the QA/performance records (call_statistics) for the specified
agent — latencies, token stats, pipeline configuration and redflags.
Results are ordered by created_at descending (newest first).
The transcript is not included here: use
GET /v1/agents/{agentId}/performance/{statisticId} for a single record
with its transcript. Internal debug logs are never returned.
Requires the performance:read permission. With Dashboard JWT auth this
endpoint is restricted to the super_admin, dev_admin and
dev_employee roles, mirroring the Dashboard’s Performance Analysis page.
curl --request GET \
--url https://api.talkpilot.io/v1/agents/{agentId}/performance \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.talkpilot.io/v1/agents/{agentId}/performance"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.talkpilot.io/v1/agents/{agentId}/performance', 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.talkpilot.io/v1/agents/{agentId}/performance",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$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.talkpilot.io/v1/agents/{agentId}/performance"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
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.talkpilot.io/v1/agents/{agentId}/performance")
.header("X-API-Key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.talkpilot.io/v1/agents/{agentId}/performance")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"data": [
{
"id": "9f1c2d3e-4a5b-6c7d-8e9f-0a1b2c3d4e5f",
"call_id": "lk_call_abc123",
"caller_phone": "+491701234567",
"agent_phone_number": "+4930123456",
"agent_id": "550e8400-e29b-41d4-a716-446655440000",
"duration_seconds": 184,
"disconnect_reason": "user_hangup",
"session_status": "completed",
"e2e_latency_p90": 1.42,
"e2e_latency_median": 0.98,
"e2e_latency_min": 0.61,
"transcription_latency_p90": 0.31,
"transcription_latency_median": 0.22,
"transcription_latency_min": 0.14,
"llm_latency_p90": 0.82,
"llm_latency_median": 0.55,
"llm_latency_min": 0.33,
"tts_latency_p90": 0.29,
"tts_latency_median": 0.21,
"tts_latency_min": 0.12,
"llm_total_tokens": 4820,
"llm_prompt_tokens": 4120,
"llm_completion_tokens": 700,
"pre_call_variables": {
"caller_name": "Hans Meier"
},
"extracted_variables": {
"appointment_date": "2026-04-02"
},
"llm_provider": "openai",
"llm_model": "gpt-4o-mini",
"tts_provider": "elevenlabs",
"stt": "deepgram",
"pipeline_mode": "stt_llm_tts",
"created_at": "2026-03-19T10:30:00Z",
"final_result": {
"outcome": true,
"outcome_label": "success",
"final_score": 8,
"summary_reasoning": "Termin erfolgreich vereinbart, keine Rueckfragen offen."
},
"prompt_fingerprint": "3b1f0c9d8e7a6b5c4d3e2f1a0b9c8d7e6f5a4b3c2d1e0f9a8b7c6d5e4f3a2b1c",
"assistant_misunderstood_multiple_times": {
"detected": false,
"reasoning": "Keine Rueckfragen des Assistenten notwendig.",
"score_impact": 0
},
"repeated_same_sentence": {
"detected": false,
"reasoning": "Keine Wiederholungen erkannt.",
"score_impact": 0
},
"abrupt_end_without_goodbye": {
"detected": false,
"reasoning": "Gespraech wurde regulaer beendet.",
"score_impact": 0
},
"connection_issue_repeated": {
"detected": false,
"reasoning": "Stabile Verbindung.",
"score_impact": 0
},
"assistant_policy_violation": {
"detected": false,
"reasoning": "Keine Richtlinienverstoesse.",
"score_impact": 0
},
"technical_error": {
"detected": false,
"reasoning": "Keine technischen Fehler.",
"score_impact": 0
},
"early_hangup_by_caller": {
"detected": false,
"reasoning": "Anrufer blieb bis zum Ende in der Leitung.",
"score_impact": 0
}
}
],
"pagination": {
"page": 1,
"limit": 20,
"total": 342,
"pages": 18
}
}Authorizations
API key for external access. Format: tp_live_<32-hex-chars>.
Create keys in the TalkPilot Dashboard under Settings > API.
Path Parameters
Agent UUID
Query Parameters
Page number
x >= 1Items per page
1 <= x <= 100Filter records created after this date (ISO 8601)
Filter records created before this date (ISO 8601)