Async version of runs/improve_prompt/: launch a background job that proposes prompt improvements based on a single run’s transcript and metric outcomes. Returns a progress_id — poll improve_prompt_progress/.
Documentation Index
Fetch the complete documentation index at: https://docs.cekura.ai/llms.txt
Use this file to discover all available pages before exploring further.
API Key Authentication. It should be included in the header of each request.
success - Successfailure - Failurereviewed_success - Reviewed Successreviewed_failure - Reviewed Failuresuccess, failure, reviewed_success, reviewed_failure Whether this run passed its quality evaluation. false means either the call failed to connect or an evaluation check did not pass. Check error_message for connection failures and evaluation for check results.
Whether the call has been reviewed.
Example: true or false
Call ID from the Assistant provider
Example: call_abc123
Personality this run belongs to
Name of the personality this run belongs to
ID of the agent associated with this run
Name of the result this run belongs to
Run Evaluation
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}]}
}
]Full text transcript of the call. Example:
[00:01] Testing Agent: Hello.
[00:02] Main Agent: Hello, how can I help you today?
[00:03] Testing Agent: Well, I mean, sure. What time exactly are we talking about here
[00:04] Main Agent: 6 PM.
[00:05] Testing Agent: Great. I'll book that for you. Just a sec.
[00:06] Main Agent: Okay.Transcript object
Duration of the run in MM:SS format
URL to access the voice recording of this run
running - Runningcompleted - Completedfailed - Failedpending - Pendingin_progress - In Progressevaluating - Evaluatingin_queue - In Queuetimeout - Timeoutcancelled - Cancelledscaling_up - Scaling Uprunning, completed, failed, pending, in_progress, evaluating, in_queue, timeout, cancelled, scaling_up success - Successfailure - Failurereviewed_success - Reviewed Successreviewed_failure - Reviewed Failuresuccess, failure, reviewed_success, reviewed_failure Whether this run passed its quality evaluation. false means either the call failed to connect or an evaluation check did not pass. Check error_message for connection failures and evaluation for check results.
Whether the call has been reviewed.
Example: true or false
Phone number used to make the outbound call for this run
Phone number used to receive the inbound call for this run
List of critical evaluation categories and their results for this run
Test Profile
Details of the call from the provider
Phone number of the agent (only for voice inbound calls)
The channel index of the testing agent in the audio recording
Run Execution Type