Evaluate Metrics
Evaluate metrics against call log transcripts
Authorizations
API Key Authentication. It should be included in the header of each request.
Body
IDs of the call logs to evaluate. Example: [123, 456]
IDs of the metrics to run. Must belong to the agent/project. Example: [789, 790]
Cekura agent ID. Provide this or project_id. Example: 224
Project ID. Provide this or agent_id. Example: 456
Response
Unique identifier for the call. Example:
"call_abc123xyz""stereo_audio_session_456"
100Call duration in minutes in MM:SS format.
Example: 01:10
Whether the call was successful.
Example: true or false
Whether the call has been reviewed.
Example: true or false
Status of the call or conversation.
Example: "completed" or "failed"
success- Successfailure- Failurereviewed_success- Reviewed Successreviewed_failure- Reviewed Failure
success, failure, reviewed_success, reviewed_failure Feedback about the call.
Example: "Great Call"
Metrics of the call
Reason why the call ended. Example:
"customer-ended-call""agent-ended-call"
100Customer's phone number or identifier. Example:
"+1234567890""customer_abc123"
100Agent ID
Agent name
OpenTelemetry trace ID (32-char hex). Set when OTel tracing is enabled.
32When the call occurred.
Example: 2024-03-15T10:15:45Z
Point in conversation where user disengaged.
Example: "end of conversation as no queries remaining"
1000Topic of the call. Example:
"product_inquiry""technical_support"
1000When this record was created.
Example: 2024-03-15T10:30:45Z
When this record was last updated.
Example: 2024-03-15T10:35:11Z
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.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
}
]`Evaluation of the call