curl --request GET \
--url https://api.cekura.ai/test_framework/v1/results/ \
--header 'X-CEKURA-API-KEY: <api-key>'{
"count": 123,
"next": "https://api.cekura.ai/example/v1/example-external/?page=4",
"previous": "https://api.cekura.ai/example/v1/example-external/?page=3",
"results": [
{
"id": 123,
"name": "<string>",
"agent": 123,
"status": "pending",
"success_rate": 0,
"run_as_text": false,
"is_cronjob": "<string>",
"runs": {},
"met_expected_outcome_count": "<string>",
"total_expected_outcome_count": "<string>",
"total_runs_count": "<string>",
"completed_runs_count": "<string>",
"success_runs_count": "<string>",
"failed_runs_count": "<string>",
"scenarios": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}API view set for retrieving results. This view set allows users to access results associated with their organization, providing endpoints to list and retrieve detailed results.
curl --request GET \
--url https://api.cekura.ai/test_framework/v1/results/ \
--header 'X-CEKURA-API-KEY: <api-key>'{
"count": 123,
"next": "https://api.cekura.ai/example/v1/example-external/?page=4",
"previous": "https://api.cekura.ai/example/v1/example-external/?page=3",
"results": [
{
"id": 123,
"name": "<string>",
"agent": 123,
"status": "pending",
"success_rate": 0,
"run_as_text": false,
"is_cronjob": "<string>",
"runs": {},
"met_expected_outcome_count": "<string>",
"total_expected_outcome_count": "<string>",
"total_runs_count": "<string>",
"completed_runs_count": "<string>",
"success_runs_count": "<string>",
"failed_runs_count": "<string>",
"scenarios": {},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}
]
}API Key Authentication. It should be included in the header of each request.
A page number within the paginated result set.
Number of results to return per page.
Filter by agent ID
Filter by Result name
Filter by scenarios (comma-separated list of scenario IDs)
123
"https://api.cekura.ai/example/v1/example-external/?page=4"
"https://api.cekura.ai/example/v1/example-external/?page=3"
Show child attributes
Unique identifier for the Result
Example: 123
Name of the Result
Example: "Test Result 1"
255ID of the AI agent that was tested
Example: 123
Current status of the result
running - Runningcompleted - Completedfailed - Failedpending - Pendingin_progress - In Progressevaluating - Evaluatingin_queue - In Queuetimeout - Timeoutcancelled - Cancelledrunning, completed, failed, pending, in_progress, evaluating, in_queue, timeout, cancelled Success rate of the test runs as a decimal (0.0 to 1.0)
Whether this test was run in text mode instead of voice mode
Example: true or false
Whether this result was created by a scheduled cronjob
Example: true or false
List of test runs associated with this result, including run details, status, scenario information, and phone numbers used Example:
{
"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_workflow_adherence | binary_qualitative | 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"
}
}Show child attributes
Number of test runs that met the expected outcome criteria
Example: 10
Total number of test runs that were evaluated for expected outcomes
Example: 10
Total number of test runs associated with this result
Example: 10
Number of test runs that have completed successfully
Example: 10
Number of test runs that were marked as successful
Example: 10
Number of test runs that failed or encountered errors
Example: 10
Timestamp when this test result was created
Example: 2021-01-01 00:00:00
Timestamp when this test result was last updated