Get Test Execution KPIs
Retrieve KPI metrics for a test execution. Returns avg score, response time, call connection rate, latency, WPM, interruption rates, and per-eval averages.
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.
calls_attempted
Total calls initiated.
connected_calls
Calls that connected.
calls_connected_percentage
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. scenario_graphs
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.
agent_talk_percentage
Agent talk time percentage (0-100). Voice only.
customer_talk_percentage
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.