Poll the progress of an async call-logs prompt-improvement job started by improve_prompt_bg/.
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.
Mixin for parsing restql query from request.
NOTE: We are using request.GET instead of
request.query_params because this might be
called before DRF request is created(i.e from dispatch).
This means request.query_params might not be available
when this mixin is used.
Unique identifier for the call. Example:
"call_abc123xyz""stereo_audio_session_456"100Call duration in minutes in MM:SS format.
Example: 01:10
URL to access the voice recording.
Example: "https://storage.example.com/recordings/call_123_20240315.mp3"
Critical categories from call evaluation
Structured transcript data with timestamps. Example:
[
{
"role": "Testing Agent",
"content": "Hello",
"start_time": 1.2,
"end_time": 1.8
},
{
"role": "Main Agent",
"content": "Hello, how can I help you today?",
"start_time": 1.8,
"end_time": 2.5
}
]`success - Successfailure - Failurereviewed_success - Reviewed Successreviewed_failure - Reviewed Failuresuccess, failure, reviewed_success, reviewed_failure Agent ID.
Example: 2142
Agent name
Evaluation results for the call. Example:
{
"metrics": [
{
"id": 35,
"name": "Instruction Follow",
"type": "binary_workflow_adherence",
"score": 0,
"explanation": ["Agent failed to follow the opening script", "Missed key product information"],
"vocera_defined_metric_code": "5dedc41b",
"function_name": "check_critical_deviations",
"extra": {
"categories": [
{
"category_id": 5,
"category": "Script Adherence Issue",
"deviation": "Agent deviated from required script",
"priority": "critical"
}
]
}
},
{
"id": 18,
"name": "Customer Satisfaction",
"type": "binary_qualitative",
"score": 5,
"explanation": ["Customer expressed satisfaction with service"]
}
]
}Additional call metadata. Example:
{
"ended_reason": "customer-ended-call",
"ringing_duration": 3.941,
"call_type": "inbound"
}Dynamic Variables used in the call. Example:
{
"customer_name": "John Doe",
"order_id": "ORD-12345",
"product_type": "premium"
}The channel index of the testing agent in the audio recording
When the call occurred.
Example: 2024-03-15T10:15:45Z
Whether the call was successful.
Example: true or false
Whether the call has been reviewed.
Example: true or false
Feedback about the call.
Example: "Great Call"
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.Reason why the call ended. Example:
"customer-ended-call""agent-ended-call"100Point in conversation where user disengaged.
Example: "end of conversation as no queries remaining"
1000Topic of the call. Example:
"product_inquiry""technical_support"1000Customer's phone number or identifier. Example:
"+1234567890""customer_abc123"100Manually created or corrected transcript data. Example:
[
{
"role": "Testing Agent",
"content": "I need help with my order",
"timestamp": "00:15"
}
]`When this record was created.
Example: 2024-03-15T10:30:45Z
When this record was last updated.
Example: 2024-03-15T10:35:11Z
Agent ID
Project ID (denormalized from agent for query performance)