Skip to main content
POST
Create evaluators from call logs

Authorizations

X-CEKURA-API-KEY
string
header
required

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

Body

agent_id
integer

Agent ID, required if assistant_id is not provided Example: 2142

assistant_id
string

Assistant ID, required if agent_id is not provided Example: asst_1234567890

call_logs
integer[]

List of call log IDs to create scenarios from. Can also be the string "all" to process all call logs. Example: [1, 2, 3] or "all"

copy_to_agent
integer | null

Optional agent ID to copy created scenarios to Example: 2142

project_id
integer

Project ID. Required when using folder_path. Example: 1376

folder_path
string | null

Folder path to assign the created scenarios to. Example: "Sales.Inbound"

Response

status
enum<string>

failed when the job could not produce its result; see error / errors.

Available options:
completed,
failed
project_id
integer | null
agent_id
integer | null
total_scenarios
integer
completed_scenarios
integer
failed_scenarios
integer
scenarios_list
object[]

The created evaluators.

errors
object[]

Call logs that could not become an evaluator, with the reason.