Skip to main content
POST
cURL

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

progress_id
string<uuid>

Unique identifier for tracking the progress of scenario creation