For AI agents and LLMs: a machine-readable index is available at llms.txt. A plain-Markdown version of any documentation page is available by appending .md to its URL.
Skip to main content
Phone TestingGet aggregated suite summary statistics
TestMu AI
StatusCommunityBlog
Phone Testing

Get aggregated suite summary statistics

Get aggregated summary statistics for a suite.

GET
/api/suites/{suite_id}/summary
Get aggregated suite summary statistics
curl --request GET \
--url "https://agent-testing.lambdatest.com/api/suites/{suite_id}/summary" \
--header "Authorization: Basic <encoded-value>"
{
"suite_id": "suite_8f2c1a",
"suite_name": "Order status regression",
"total_calls": 24,
"overall_stats": {
"pass_rate_percentage": 79.2,
"average_score": 84.1,
"passed": 19,
"failed": 3,
"needs_improvement": 2
},
"metrics_breakdown": {
"accuracy_effectiveness": {
"task_completion_success_rate_percentage": 88.4
},
"user_experience": {
"csat_customer_satisfaction_percentage": 81
}
},
"issue_tags_summary": [
{
"tag": "long_silence",
"count": 4
}
],
"improvement_areas": [
{
"category": "user_experience",
"metric": "csat_customer_satisfaction_percentage",
"threshold": 85,
"current_value": 81,
"severity": "medium",
"total_affected_scenarios": 2
}
],
"call_details": {
"status_breakdown": {
"passed": 19,
"failed": 3,
"needs_improvement": 2
},
"duration_stats": {
"average_seconds": 96.4,
"min_seconds": 41.2,
"max_seconds": 210.8
}
}
}

Authorizations

Authorizationstringheaderrequired

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

suite_idstringrequired

Query Parameters

daysinteger

Filter results by the last N days

start_datestring

Start date for custom range (ISO format)

end_datestring

End date for custom range (ISO format)

project_idstring

Project ID to validate suite ownership

Response

application/json

Read-only aggregates computed from stored call results. A suite with no results in range returns empty aggregates and omits the scenario-level and debug keys.

suite_idstringrequired

Suite ID

suite_namestring

Suite display name

total_callsintegerrequired

Call results in the selected range

overall_statsobjectrequired

Suite-wide aggregates: pass rate, average score, counts

metrics_breakdownobjectrequired

Averaged metric values grouped by category (conversation flow, audio quality, accuracy, UX, business)

scenario_metrics_breakdownarray

Per-scenario metric aggregates (omitted when the suite has no calls)

scenario_run_historyarray

Per-scenario run history with call IDs (omitted when the suite has no calls)

issue_tags_summaryarrayrequired

Most common issue tags with counts

improvement_areasarrayrequired

Metrics below threshold, with affected scenarios and severity

call_detailsobjectrequired

Status breakdown and duration statistics

debug_infoobject

Echo of the applied date filter (omitted when the suite has no calls)

Get aggregated suite summary statistics
curl --request GET \
--url "https://agent-testing.lambdatest.com/api/suites/{suite_id}/summary" \
--header "Authorization: Basic <encoded-value>"
{
"suite_id": "suite_8f2c1a",
"suite_name": "Order status regression",
"total_calls": 24,
"overall_stats": {
"pass_rate_percentage": 79.2,
"average_score": 84.1,
"passed": 19,
"failed": 3,
"needs_improvement": 2
},
"metrics_breakdown": {
"accuracy_effectiveness": {
"task_completion_success_rate_percentage": 88.4
},
"user_experience": {
"csat_customer_satisfaction_percentage": 81
}
},
"issue_tags_summary": [
{
"tag": "long_silence",
"count": 4
}
],
"improvement_areas": [
{
"category": "user_experience",
"metric": "csat_customer_satisfaction_percentage",
"threshold": 85,
"current_value": 81,
"severity": "medium",
"total_affected_scenarios": 2
}
],
"call_details": {
"status_breakdown": {
"passed": 19,
"failed": 3,
"needs_improvement": 2
},
"duration_stats": {
"average_seconds": 96.4,
"min_seconds": 41.2,
"max_seconds": 210.8
}
}
}