Retrieve a test result
curl --request GET \
--url https://api.cekura.ai/test_framework/v2/results/{id}/ \
--header 'X-CEKURA-API-KEY: <api-key>'import requests
url = "https://api.cekura.ai/test_framework/v2/results/{id}/"
headers = {"X-CEKURA-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-CEKURA-API-KEY': '<api-key>'}};
fetch('https://api.cekura.ai/test_framework/v2/results/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cekura.ai/test_framework/v2/results/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-CEKURA-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cekura.ai/test_framework/v2/results/{id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-CEKURA-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cekura.ai/test_framework/v2/results/{id}/")
.header("X-CEKURA-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/test_framework/v2/results/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-CEKURA-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "integer",
"name": "string",
"agent": "integer",
"status": "string",
"met_expected_outcome_count": "integer",
"total_expected_outcome_count": "integer",
"success_rate": "float",
"run_as_text": "boolean",
"is_cronjob": "boolean",
"runs": {
"run_id": {
"id": "integer",
"scenario": "integer",
"outbound_number": "string",
"expected_outcome": {
"score": 100,
"explanation": [
"✅ Positive outcome explanation with checkmark emoji",
"❌ Negative outcome explanation with X emoji"
],
"outcome_alignments": [
{
"outcome": "string",
"prompt_part": "string",
"aligned": "boolean"
}
]
},
"success": "boolean",
"evaluation": {
"metrics": [
{
"id": "integer",
"name": "string",
"type": "binary | continuous_qualitative | numeric | enum",
"score": "number",
"explanation": "string | array",
"function_name": "string (optional)",
"extra": {
"categories": [
{
"category": "string",
"deviation": "string (optional)",
"priority": "string (optional)"
}
],
"percentiles": {
"p50": "number"
}
},
"enum": "string (for enum type metrics only)"
}
]
},
"timestamp": "datetime",
"executed_at": "datetime",
"error_message": "string",
"status": "string",
"duration": "string (MM:SS format)",
"scenario_name": "string",
"personality_name": "string",
"metadata": "object",
"inbound_number": "string"
}
},
"overall_evaluation": {
"success_rate": "number",
"metric_summary": {
"metric_id": {
"id": "integer",
"name": "string",
"type": "string",
"score": "number",
"explanation": "string (optional)",
"function_name": "string",
"vocera_defined_metric_code": "string (optional)",
"p50": "number (for numeric metrics)"
}
},
"worst_performing_metrics": {
"binary_adherence": [
"array of metric_ids"
]
},
"numeric_metrics": [
{
"name": "string",
"type": "numeric",
"value": "number",
"percentiles": {
"p50": "number"
}
}
],
"enum_metrics": [
"array of metric_ids"
],
"extra_metrics": [
{
"name": "string (e.g., 'Expected Outcome', 'Average Ringing Duration')",
"type": "string",
"value": "number",
"percentiles": {
"p50": "number (optional)"
}
}
]
},
"total_duration": "string (MM:SS format)",
"total_runs_count": "integer",
"completed_runs_count": "integer",
"success_runs_count": "integer",
"failed_runs_count": "integer",
"scenarios": [
{
"id": "integer",
"name": "string"
}
],
"critical_categories": "array",
"metrics": "array",
"domain": "string (nullable)",
"domain_logo": "string (nullable)",
"runs_by_tags": "object",
"latency_data": "object",
"failed_reasons": "array",
"run_settings": {
"override_value": 10,
"frequency": 2,
"concurrency_limit": 5,
"personality_ids": [
3,
7
],
"test_profile_ids": [
20
],
"mode": "same_number",
"livekit_data": {
"agent_name": "kit",
"config": {},
"url": "wss://example"
}
},
"created_at": "datetime",
"updated_at": "datetime"
}{
"detail": "<string>"
}Results
Get Result
Retrieve a test result by ID
GET
/
test_framework
/
v2
/
results
/
{id}
/
Retrieve a test result
curl --request GET \
--url https://api.cekura.ai/test_framework/v2/results/{id}/ \
--header 'X-CEKURA-API-KEY: <api-key>'import requests
url = "https://api.cekura.ai/test_framework/v2/results/{id}/"
headers = {"X-CEKURA-API-KEY": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-CEKURA-API-KEY': '<api-key>'}};
fetch('https://api.cekura.ai/test_framework/v2/results/{id}/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.cekura.ai/test_framework/v2/results/{id}/",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-CEKURA-API-KEY: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.cekura.ai/test_framework/v2/results/{id}/"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-CEKURA-API-KEY", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api.cekura.ai/test_framework/v2/results/{id}/")
.header("X-CEKURA-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/test_framework/v2/results/{id}/")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-CEKURA-API-KEY"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"id": "integer",
"name": "string",
"agent": "integer",
"status": "string",
"met_expected_outcome_count": "integer",
"total_expected_outcome_count": "integer",
"success_rate": "float",
"run_as_text": "boolean",
"is_cronjob": "boolean",
"runs": {
"run_id": {
"id": "integer",
"scenario": "integer",
"outbound_number": "string",
"expected_outcome": {
"score": 100,
"explanation": [
"✅ Positive outcome explanation with checkmark emoji",
"❌ Negative outcome explanation with X emoji"
],
"outcome_alignments": [
{
"outcome": "string",
"prompt_part": "string",
"aligned": "boolean"
}
]
},
"success": "boolean",
"evaluation": {
"metrics": [
{
"id": "integer",
"name": "string",
"type": "binary | continuous_qualitative | numeric | enum",
"score": "number",
"explanation": "string | array",
"function_name": "string (optional)",
"extra": {
"categories": [
{
"category": "string",
"deviation": "string (optional)",
"priority": "string (optional)"
}
],
"percentiles": {
"p50": "number"
}
},
"enum": "string (for enum type metrics only)"
}
]
},
"timestamp": "datetime",
"executed_at": "datetime",
"error_message": "string",
"status": "string",
"duration": "string (MM:SS format)",
"scenario_name": "string",
"personality_name": "string",
"metadata": "object",
"inbound_number": "string"
}
},
"overall_evaluation": {
"success_rate": "number",
"metric_summary": {
"metric_id": {
"id": "integer",
"name": "string",
"type": "string",
"score": "number",
"explanation": "string (optional)",
"function_name": "string",
"vocera_defined_metric_code": "string (optional)",
"p50": "number (for numeric metrics)"
}
},
"worst_performing_metrics": {
"binary_adherence": [
"array of metric_ids"
]
},
"numeric_metrics": [
{
"name": "string",
"type": "numeric",
"value": "number",
"percentiles": {
"p50": "number"
}
}
],
"enum_metrics": [
"array of metric_ids"
],
"extra_metrics": [
{
"name": "string (e.g., 'Expected Outcome', 'Average Ringing Duration')",
"type": "string",
"value": "number",
"percentiles": {
"p50": "number (optional)"
}
}
]
},
"total_duration": "string (MM:SS format)",
"total_runs_count": "integer",
"completed_runs_count": "integer",
"success_runs_count": "integer",
"failed_runs_count": "integer",
"scenarios": [
{
"id": "integer",
"name": "string"
}
],
"critical_categories": "array",
"metrics": "array",
"domain": "string (nullable)",
"domain_logo": "string (nullable)",
"runs_by_tags": "object",
"latency_data": "object",
"failed_reasons": "array",
"run_settings": {
"override_value": 10,
"frequency": 2,
"concurrency_limit": 5,
"personality_ids": [
3,
7
],
"test_profile_ids": [
20
],
"mode": "same_number",
"livekit_data": {
"agent_name": "kit",
"config": {},
"url": "wss://example"
}
},
"created_at": "datetime",
"updated_at": "datetime"
}{
"detail": "<string>"
}Authorizations
api_keyoauth2embedded_sessionshareable_linksupabase_session
Response
Current status of the result
running- Runningcompleted- Completedfailed- Failedpending- Pendingin_progress- In Progressevaluating- Evaluatingin_queue- In Queuetimeout- Timeoutcancelled- Cancelledscaling_up- Scaling Up
Available options:
running, completed, failed, pending, in_progress, evaluating, in_queue, timeout, cancelled, scaling_up Overall evaluation of the test runs Example:
{
"success_rate": "number",
"metric_summary": {
"metric_id": {
"id": "integer",
"name": "string",
"type": "string",
"score": "number",
"explanation": "string (optional)",
"function_name": "string",
"vocera_defined_metric_code": "string (optional)",
"p50": "number (for numeric metrics)"
}
},
"worst_performing_metrics": {
"binary_adherence": [
"array of metric_ids"
]
},
"numeric_metrics": [
{
"name": "string",
"type": "numeric",
"value": "number",
"percentiles": {
"p50": "number"
}
}
],
"enum_metrics": [
"array of metric_ids"
],
"extra_metrics": [
{
"name": "string (e.g., 'Expected Outcome', 'Average Ringing Duration')",
"type": "string",
"value": "number",
"percentiles": {
"p50": "number (optional)"
}
}
]
}
List of critical categories for this result Example:
[
{
"id": 2950,
"name": "Pronunciation Analysis",
"eval_type": "continuous_qualitative",
"simulation_enabled": true,
"observability_enabled": true
},
{
"id": 3284,
"name": "Latency",
"eval_type": "numeric",
"simulation_enabled": true,
"observability_enabled": false
},
{
"id": 3295,
"name": "Detect Silence in Conversation",
"eval_type": "binary",
"simulation_enabled": true,
"observability_enabled": true
}
]
Failed reasons of the test runs Example:
{
"issues": [
{
"rank": 1,
"run_ids": [
34588
],
"description": "The agent did not provide the standard greeting, emergency disclaimer, or ask how they could help.",
"affected_count": 1
},
{
"rank": 2,
"run_ids": [
34588
],
"description": "The agent did not explain the distinction between the primary care and express clinics.",
"affected_count": 1
}
],
"total_failed_runs": 1
}
LLM-generated narrative summary of the result, structured for the Results-page UI. Example:
{
"what_happened": "8 of 10 runs failed, 2 passed. All 8 failures cluster into 3 distinct causes.",
"why_it_happened": "The default test profile isn't seeded in the production backend, so every auth-required workflow exits before PIN/address steps run.",
"how_to_fix": "Seed the test profile in production, tighten the competitor-mention guardrail, and add CA-only store phrasing to the FAQ flow.",
"generated_from_runs_count": 10,
"generated_at": "2026-05-25T12:00:00Z"
}
Generation state of the async AI summary, derived so the UI can show a reliable state instead of guessing from an empty ai_summary. completed = summary populated; skipped_no_failures = no failed runs, nothing to summarize; pending = there are failed runs but the summary isn't ready yet (still generating).
Workflow-coverage summary for this result: which of the agent's critical paths the runs exercised, and which they missed. Example:
{
"coverage_pct": 66.7,
"total_paths": 3,
"covered_paths": ["Book appointment", "Reschedule appointment"],
"uncovered_paths": ["Cancel appointment"],
"generated_at": "2026-07-14T12:00:00Z"
}