Skip to main content
POST
Run evaluators over a voice call

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

ID of the agent to run evaluators for

assistant_id
string
write-only

Alternative to agent ID - the assistant ID to use for this scenario Example: "asst_1234567890"

scenarios
integer[]

List of evaluator IDs to run. Either scenarios, tags, or folder_path must be provided. Example: [11, 22, 33]

To run evaluators by tag or folder, use the tags or folder_path fields instead.

tags
string[]

List of tags to filter evaluators to run. Either evaluators or tags must be provided. Example: ["tag1", "tag2", "tag3"]

folder_path
string

Dot-separated folder path to select evaluators from (e.g. "Sales.Inbound"). Mutually exclusive with scenarios and tags. Requires project_id.

project_id
integer

Project ID. Required when using folder_path (or when passing a folder path string via scenarios). Example: 1376

frequency
integer
default:1

The number of times each evaluator will run Example: 1

Required range: x >= 1
name
string

Label text for result

outbound_phone_number
string

Override the phone number to use for outbound calls. Example: "+1234567890"

personality_ids
integer[] | null

List of personality IDs to override for this run. If not provided, uses the scenario's default personality. Example: [123, 456, 789]

test_profile_ids
integer[] | null

List of test profile IDs to override for this run. If not provided, uses the scenario's default test profile. Example: [123, 456, 789]

personality_id
integer | null

Single personality ID override. Merged into personality_ids; prefer personality_ids for multiple.

test_profile_id
integer | null

Single test profile ID override. Merged into test_profile_ids; prefer test_profile_ids for multiple.

mode
enum<string>
default:same_number

Using same or different phone numbers for each evaluation

  • same_number - same_number
  • different_numbers - different_numbers
Available options:
same_number,
different_numbers
agent_number
string

Override the phone number from which the agent under test receives the call during outbound runs. This allows overriding the default agent contact number for testing purposes. Example: "+1234567890"

concurrency_limit
integer

Cap on the number of evaluator runs executed in parallel. Default: unbounded (subject to your provider's rate limits). Use this to avoid hitting provider rate limits on large frequency or folder runs. Example: 5

Required range: x >= 1
mock_tool_names
string[]

Names of mock tools to activate for this run. Cekura swaps those tools' URLs to mock endpoints while the run is active and restores the originals when it finishes. Omit (or send null) to mock every tool configured on the agent; send an empty list to mock none so every tool keeps its original endpoint. Example: ["get_appointments", "cancel_booking"]

Response

id
integer

ID of the result

agent
integer

ID of the agent

status
enum<string>

Status of the result

Available options:
pending,
running,
completed,
failed
run_as_text
boolean

Whether the scenario ran as text or not

Example:

false

runs
object[]
Examples:
created_at
string<date-time>
Example:

"2025-02-25T21:00:01.990052Z"