Get execution KPIs
Retrieves KPI metrics for a test execution.
GET
https://api.futureagi.com/simulate/test-executions/{test_execution_id}/kpis/ Authentication
Path parameters
test_execution_id
The test execution ID. Response fields vary by agent type (voice vs. text).
Response
200 OK total_calls
Total call executions.
avg_score
Average evaluation score across completed calls.
avg_response
Average response time in seconds.
callsAttempted
Total calls initiated.
connectedCalls
Calls that connected.
callsConnectedPercentage
Percentage of calls that connected.
failed_calls
Calls that failed.
total_duration
Combined duration in seconds.
agent_type
voice or text. is_inbound
true for inbound, false for outbound. null for text agents. scenarioGraphs
Per-scenario performance data.
avg_agent_latency
Average agent latency in seconds. Voice only.
avg_user_interruption_count
Average user interruptions per call. Voice only.
avg_user_interruption_rate
Average user interruption rate (0-1). Voice only.
avg_user_wpm
Average user words per minute. Voice only.
avg_bot_wpm
Average agent words per minute. Voice only.
avg_talk_ratio
Average agent talk ratio (0-1). Voice only.
avg_ai_interruption_count
Average agent interruptions per call. Voice only.
avg_ai_interruption_rate
Average agent interruption rate (0-1). Voice only.
avg_stop_time_after_interruption
Average seconds to stop after interruption. Voice only.
agentTalkPercentage
Agent talk time percentage (0-100). Voice only.
customerTalkPercentage
Customer talk time percentage (0-100). Voice only.
avg_total_tokens
Average total tokens per call. Text only.
avg_input_tokens
Average input tokens per call. Text only.
avg_output_tokens
Average output tokens per call. Text only.
avg_chat_latency_ms
Average latency in milliseconds. Text only.
avg_turn_count
Average turns per call. Text only.
avg_csat_score
Average CSAT score. Text only.
avg_[metric_name]
Dynamic average for each configured eval metric.
Errors
401
Invalid or missing credentials.
404
Test execution not found.
500
Unexpected server error.