Skip to main content
POST
Create a test set from a production call log

Authorizations

X-CEKURA-API-KEY
string
header
required

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

Body

call_log_id
integer
required

ID of the call log to create test set from

metrics
object[]
required

List of metrics with optional notes to include in the test set

project
integer

ID of the project that owns the call log

name
string
default:""

Optional name for the test set. If not provided, call log ID will be used

Response

200 - application/json
agent
integer
required
id
integer
read-only
name
string

Name of the test set Example: "Test Set 1"

Maximum string length: 255
transcript
string

Full text transcript of the call. Example:

transcript_object
unknown
voice_recording_url
string
read-only

Audio URL

call_end_reason
string

Reason why the call ended. Example:

  • "customer-ended-call"
  • "agent-ended-call"
Maximum string length: 255
duration
string
read-only

Call duration in minutes in MM:SS format. Example: 01:10

source_model
enum<string>
read-only
  • CallLog - Call Log
  • Run - Run
Available options:
CallLog,
Run
source_id
string
read-only
metric_reviews
object[]
read-only
created_at
string<date-time>
read-only

When this record was created. Example: 2024-03-15T10:30:45Z

updated_at
string<date-time>
read-only

When this record was last updated. Example: 2024-03-15T10:35:11Z