Skip to main content
GET
Get performance record details

Authorizations

X-API-Key
string
header
required

API key for external access. Format: tp_live_<32-hex-chars>. Create keys in the TalkPilot Dashboard under Settings > API.

Path Parameters

agentId
string<uuid>
required

Agent UUID

statisticId
string<uuid>
required

Performance record UUID (call_statistics.id)

Response

Performance record details

Full performance record including the transcript

id
string<uuid>
call_id
string

External call ID (e.g. LiveKit) — links to the calls resource

caller_phone
string | null
agent_phone_number
string | null
agent_id
string<uuid> | null
duration_seconds
integer

Call duration in seconds

disconnect_reason
string | null
session_status
string | null
e2e_latency_p90
number | null

End-to-end response latency, 90th percentile (seconds)

e2e_latency_median
number | null
e2e_latency_min
number | null
transcription_latency_p90
number | null

Speech-to-text latency, 90th percentile (seconds)

transcription_latency_median
number | null
transcription_latency_min
number | null
llm_latency_p90
number | null

Language model latency, 90th percentile (seconds)

llm_latency_median
number | null
llm_latency_min
number | null
tts_latency_p90
number | null

Text-to-speech latency, 90th percentile (seconds)

tts_latency_median
number | null
tts_latency_min
number | null
llm_total_tokens
integer | null
llm_prompt_tokens
integer | null
llm_completion_tokens
integer | null
pre_call_variables
object | null

Variables handed to the agent before the call started

extracted_variables
object | null

Variables the agent extracted during the call

llm_provider
string | null
llm_model
string | null
tts_provider
string | null
stt
string | null

Speech-to-text provider

pipeline_mode
string | null
created_at
string<date-time> | null
final_result
object | null

Overall automated evaluation of the call

prompt_fingerprint
string | null

SHA-256 of the prompt template used — groups calls of the same prompt version

assistant_misunderstood_multiple_times
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

repeated_same_sentence
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

abrupt_end_without_goodbye
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

connection_issue_repeated
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

assistant_policy_violation
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

technical_error
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

early_hangup_by_caller
object | null

Automated QA assessment of a single failure pattern ("redflag"). Written by the analysis pipeline, not by the caller.

transcript
object[] | null

Speech turns and tool calls in one chronological list. null for calls recorded before transcript capture was enabled.