Get multiple runs
curl --request GET \
--url https://api.cekura.ai/test_framework/v2/runs/bulk/ \
--header 'X-CEKURA-API-KEY: <api-key>'import requests
url = "https://api.cekura.ai/test_framework/v2/runs/bulk/"
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/runs/bulk/', 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/runs/bulk/",
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/runs/bulk/"
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/runs/bulk/")
.header("X-CEKURA-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/test_framework/v2/runs/bulk/")
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": 123,
"provider_call_id": "<string>",
"trace_id": "<string>",
"is_log_present": true,
"scenario": 123,
"scenario_name": "Scenario Deleted",
"scenario_type": "<string>",
"personality": 123,
"personality_name": "<string>",
"agent": 123,
"agent_name": "<string>",
"agent_version": {
"history_id": 123,
"version_id": "<string>",
"version_name": "<string>",
"is_current": true
},
"result_id": 123,
"result_name": "<string>",
"expected_outcome_prompt": "<string>",
"expected_outcome": {
"score": 123,
"explanation": [
"<string>"
],
"outcome_alignments": [
{
"outcome": "<string>",
"prompt_part": "<string>",
"aligned": true
}
]
},
"evaluation": {
"metrics": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"score": 123,
"enum": "<string>",
"value": "<string>",
"explanation": [
"<string>"
],
"extra": {}
}
]
},
"rubric": "<unknown>",
"transcript": "<string>",
"transcript_object": [
{
"role": "<string>",
"content": "<string>",
"timestamp": 123,
"normalized_content": "<string>",
"comparison_spans": [
"<unknown>"
]
}
],
"duration": "<string>",
"voice_recording_url": "<string>",
"email_id": "jsmith@example.com",
"status": "running",
"evaluation_status": "success",
"metadata": "<unknown>",
"success": true,
"is_reviewed": true,
"feedback": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"executed_at": "2023-11-07T05:31:56Z",
"outbound_number": "<string>",
"inbound_number": "<string>",
"critical_categories": [
{
"category_id": 123,
"category": "<string>",
"deviation": 123,
"wrongly_marked": true,
"feedback": "<string>",
"priority": "critical"
}
],
"error_message": "<string>",
"scenario_instructions": "<string>",
"run_as_text": true,
"test_profile_data": {
"id": 123,
"name": "<string>",
"information": {}
},
"generated_mock_tool_entries": [
{}
],
"mocked_tool_names": [
"<string>"
],
"provider_call_details": "<unknown>",
"agent_number": "<string>",
"testing_channel_index": 123,
"waveform": {},
"run_type": "<string>",
"outbound_dial_window_opens_at": "<string>",
"outbound_dial_window_seconds": "<string>",
"outbound_dial_window_closes_at": "<string>"
}
]Runs
List Runs with IDs
Retrieve multiple runs in a single request
GET
/
test_framework
/
v2
/
runs
/
bulk
/
Get multiple runs
curl --request GET \
--url https://api.cekura.ai/test_framework/v2/runs/bulk/ \
--header 'X-CEKURA-API-KEY: <api-key>'import requests
url = "https://api.cekura.ai/test_framework/v2/runs/bulk/"
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/runs/bulk/', 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/runs/bulk/",
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/runs/bulk/"
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/runs/bulk/")
.header("X-CEKURA-API-KEY", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.cekura.ai/test_framework/v2/runs/bulk/")
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": 123,
"provider_call_id": "<string>",
"trace_id": "<string>",
"is_log_present": true,
"scenario": 123,
"scenario_name": "Scenario Deleted",
"scenario_type": "<string>",
"personality": 123,
"personality_name": "<string>",
"agent": 123,
"agent_name": "<string>",
"agent_version": {
"history_id": 123,
"version_id": "<string>",
"version_name": "<string>",
"is_current": true
},
"result_id": 123,
"result_name": "<string>",
"expected_outcome_prompt": "<string>",
"expected_outcome": {
"score": 123,
"explanation": [
"<string>"
],
"outcome_alignments": [
{
"outcome": "<string>",
"prompt_part": "<string>",
"aligned": true
}
]
},
"evaluation": {
"metrics": [
{
"id": 123,
"name": "<string>",
"type": "<string>",
"score": 123,
"enum": "<string>",
"value": "<string>",
"explanation": [
"<string>"
],
"extra": {}
}
]
},
"rubric": "<unknown>",
"transcript": "<string>",
"transcript_object": [
{
"role": "<string>",
"content": "<string>",
"timestamp": 123,
"normalized_content": "<string>",
"comparison_spans": [
"<unknown>"
]
}
],
"duration": "<string>",
"voice_recording_url": "<string>",
"email_id": "jsmith@example.com",
"status": "running",
"evaluation_status": "success",
"metadata": "<unknown>",
"success": true,
"is_reviewed": true,
"feedback": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"executed_at": "2023-11-07T05:31:56Z",
"outbound_number": "<string>",
"inbound_number": "<string>",
"critical_categories": [
{
"category_id": 123,
"category": "<string>",
"deviation": 123,
"wrongly_marked": true,
"feedback": "<string>",
"priority": "critical"
}
],
"error_message": "<string>",
"scenario_instructions": "<string>",
"run_as_text": true,
"test_profile_data": {
"id": 123,
"name": "<string>",
"information": {}
},
"generated_mock_tool_entries": [
{}
],
"mocked_tool_names": [
"<string>"
],
"provider_call_details": "<unknown>",
"agent_number": "<string>",
"testing_channel_index": 123,
"waveform": {},
"run_type": "<string>",
"outbound_dial_window_opens_at": "<string>",
"outbound_dial_window_seconds": "<string>",
"outbound_dial_window_closes_at": "<string>"
}
]Authorizations
api_keyoauth2embedded_sessionshareable_linksupabase_session
Query Parameters
Response
200 - application/json
Detailed rubric evaluation data Example:
[
{
"metric_id": 100,
"metric_name": "Call Quality",
"value": 5,
"explanation": ["The response was accurate"],
"passed": true,
"conditions": "score gte 5",
"expected_conditions": {"operator": "and", "conditions": [{"field": "score", "op": "gte", "value": 5}]}
}
]
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 Tool names whose calls in this run's transcript were served by Cekura mocks. Where the provider reports the URL it resolved per tool call (ElevenLabs), a mock-enabled tool the provider served from the customer's own endpoint is excluded; otherwise this is the set that was mock-enabled. Empty if no tools were mocked.