GET
/
test_framework
/
v1
/
results
/
{id}
/
cURL
curl --request GET \
  --url https://api.cekura.ai/test_framework/v1/results/{id}/ \
  --header 'X-CEKURA-API-KEY: <api-key>'
{
  "id": 123,
  "name": "<string>",
  "agent": 123,
  "status": "running",
  "met_expected_outcome_count": "<string>",
  "total_expected_outcome_count": "<string>",
  "success_rate": 123,
  "run_as_text": true,
  "is_cronjob": "<string>",
  "runs": "<string>",
  "overall_evaluation": "<any>",
  "total_duration": "<string>",
  "total_runs_count": "<string>",
  "completed_runs_count": "<string>",
  "success_runs_count": "<string>",
  "failed_runs_count": "<string>",
  "scenarios": "<string>",
  "critical_categories": "<string>",
  "metrics": "<string>",
  "domain": "<string>",
  "domain_logo": "<string>",
  "runs_by_tags": "<string>",
  "latency_data": "<string>",
  "failed_reasons": "<any>",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z"
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Path Parameters

id
integer
required

A unique integer value identifying this result.

Response

id
integer
required
agent
integer
required
status
enum<string>
required
  • running - Running
  • completed - Completed
  • failed - Failed
  • pending - Pending
  • in_progress - In Progress
  • evaluating - Evaluating
  • in_queue - In Queue
  • timeout - Timeout
Available options:
running,
completed,
failed,
pending,
in_progress,
evaluating,
in_queue,
timeout
met_expected_outcome_count
string
required

Number of runs that fully met their expected outcomes with a score of 100

total_expected_outcome_count
string
required

Total number of runs that had expected outcomes defined

success_rate
number
required
run_as_text
boolean
required
is_cronjob
string
required

Whether this result was created by a scheduled cronjob

runs
string
required

Dictionary mapping run IDs to detailed run information including scenario, evaluation and transcript data

overall_evaluation
any
required
total_duration
string
required
total_runs_count
string
required
completed_runs_count
string
required
success_runs_count
string
required
failed_runs_count
string
required
scenarios
string
required
critical_categories
string
required
metrics
string
required
domain
string
required
runs_by_tags
string
required
latency_data
string
required
failed_reasons
any
required
updated_at
string<date-time>
required
name
string
Maximum length: 255
created_at
string<date-time>