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
Voice TestingGet a voice test result
TestMu AI
StatusCommunityBlog
Voice Testing

Get a voice test result

Get a single voice test result with full details.

GET
/api/voice-results/{result_id}
Get a voice test result
curl --request GET \
--url "https://agent-testing.lambdatest.com/api/voice-results/{result_id}" \
--header "Authorization: Basic <encoded-value>"
{
"id": "7c2d9f10-4b8e-4c6a-a1d3-5e90f2b7c841",
"project_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"scenario_id": "5a1e2b7c-9d3f-4e21-8c47-0f6b2d9a1e34",
"scenario_title": "Order status lookup",
"suite_id": "0b8e2f34-6c1d-4f7a-9e52-3d84a1c07b96",
"transport_protocol": "websocket",
"status": "completed",
"conversation_history": [
{
"role": "simulator",
"text": "Hi, I'd like to check my order status.",
"latency_ms": 640.2,
"seconds_from_start": 1.4
},
{
"role": "agent",
"text": "Sure — could you share your order number?",
"latency_ms": 910.7,
"seconds_from_start": 4.9
}
],
"evaluation_result": {
"metrics": {
"task_completion": 1,
"overall_score": 0.92
},
"detailed_analysis": {
"summary": "Agent resolved the request efficiently."
},
"overall_result": "Pass"
},
"latency_metrics": {
"avg_ms": 820.4,
"p95_ms": 1310
},
"validation_results": {
"mode": "scenario_driven",
"criteria": [
{
"criterion": "Agent asks for the order number",
"source": "scenario_provided",
"expected": "Agent requests the order number",
"achieved": "Agent asked for the order number in turn 2",
"status": "Pass",
"evidence": "\"Could you share your order number?\"",
"confidence": "High"
}
],
"overall_compliance": "Pass",
"pass_count": 1,
"fail_count": 0,
"unable_to_verify_count": 0,
"compliance_percentage": 100,
"summary": "1 of 1 criteria passed.",
"manually_updated": false
},
"call_id": "call_18f3a2",
"recording_url": "https://storage.example.com/recordings/7c2d9f10.wav?expires=3600",
"call_duration_seconds": 47.2,
"created_at": "2026-07-28T14:03:12.001235"
}

Authorizations

Authorizationstringheaderrequired

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

Path Parameters

result_idstringrequired

Response

application/json

Full result detail: transcript, evaluation, validation verdicts, latency metrics, presigned recording URL, and the latency-threshold snapshot in effect when it was evaluated.

idstringrequired

Result ID (UUID)

project_idstringrequired
scenario_idstring
scenario_titlestringrequired

Resolved scenario title ("Voice test" fallback)

suite_idstring
transport_protocolstringrequired

rest | websocket | webrtc | openai_realtime

statusstringrequired

pending | in_progress | completed | failed

conversation_historyobject[]

Transcribed turns of the simulated conversation

conversation_history.rolestring
Example: "simulator"
conversation_history.textstring
Example: "Hi, I'd like to check my order status."
conversation_history.latency_msnumber
Example: 640.2
conversation_history.seconds_from_startnumber
Example: 1.4
evaluation_resultobject

LLM evaluation payload (metrics, detailed_analysis, overall_result), when present

audio_analysisobject

Audio-level analysis payload, when available

latency_metricsobject

Aggregated latency figures (e.g. avg_ms, p95_ms) per run

validation_resultsobject

Per-criterion validation verdicts, when evaluated

validation_results.modestring
Example: "scenario_driven"
validation_results.criteriaobject[]
validation_results.overall_compliancestring
Example: "Pass"
validation_results.pass_countnumber
Example: 1
validation_results.fail_countnumber
Example: 0
validation_results.unable_to_verify_countnumber
Example: 0
validation_results.compliance_percentagenumber
Example: 100
validation_results.summarystring
Example: "1 of 1 criteria passed."
validation_results.manually_updatedboolean
Example: false
error_messagestring
call_idstring

Call/session identifier

recording_urlstring

Time-limited presigned URL for the call recording, when stored

call_duration_secondsnumber
created_atstring

ISO-8601 timestamp

threshold_configobject

Snapshot of latency thresholds active when this result was evaluated

Get a voice test result
curl --request GET \
--url "https://agent-testing.lambdatest.com/api/voice-results/{result_id}" \
--header "Authorization: Basic <encoded-value>"
{
"id": "7c2d9f10-4b8e-4c6a-a1d3-5e90f2b7c841",
"project_id": "f47ac10b-58cc-4372-a567-0e02b2c3d479",
"scenario_id": "5a1e2b7c-9d3f-4e21-8c47-0f6b2d9a1e34",
"scenario_title": "Order status lookup",
"suite_id": "0b8e2f34-6c1d-4f7a-9e52-3d84a1c07b96",
"transport_protocol": "websocket",
"status": "completed",
"conversation_history": [
{
"role": "simulator",
"text": "Hi, I'd like to check my order status.",
"latency_ms": 640.2,
"seconds_from_start": 1.4
},
{
"role": "agent",
"text": "Sure — could you share your order number?",
"latency_ms": 910.7,
"seconds_from_start": 4.9
}
],
"evaluation_result": {
"metrics": {
"task_completion": 1,
"overall_score": 0.92
},
"detailed_analysis": {
"summary": "Agent resolved the request efficiently."
},
"overall_result": "Pass"
},
"latency_metrics": {
"avg_ms": 820.4,
"p95_ms": 1310
},
"validation_results": {
"mode": "scenario_driven",
"criteria": [
{
"criterion": "Agent asks for the order number",
"source": "scenario_provided",
"expected": "Agent requests the order number",
"achieved": "Agent asked for the order number in turn 2",
"status": "Pass",
"evidence": "\"Could you share your order number?\"",
"confidence": "High"
}
],
"overall_compliance": "Pass",
"pass_count": 1,
"fail_count": 0,
"unable_to_verify_count": 0,
"compliance_percentage": 100,
"summary": "1 of 1 criteria passed.",
"manually_updated": false
},
"call_id": "call_18f3a2",
"recording_url": "https://storage.example.com/recordings/7c2d9f10.wav?expires=3600",
"call_duration_seconds": 47.2,
"created_at": "2026-07-28T14:03:12.001235"
}