Skip to main content
POST
Re-run the scenarios from a completed test result

Authorizations

X-CEKURA-API-KEY
string
header
required

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

Path Parameters

id
integer
required

A unique integer value identifying this result.

Response

200 - application/json
name
string
required

Name of the Result Example: "Test Result 1"

Maximum string length: 255
id
integer
read-only

Unique identifier for the Result Example: 123

agent
integer
read-only

ID of the AI agent that was tested Example: 123

agent_name
string
read-only

Name of the AI agent that was tested Example: "Test Agent 1"

agent_inbound
boolean
read-only

Whether the agent is configured for inbound calls (true) or outbound calls (false) Example: true or false

status
enum<string>
default:pending

Current status of the result

  • running - Running
  • completed - Completed
  • failed - Failed
  • pending - Pending
  • in_progress - In Progress
  • evaluating - Evaluating
  • in_queue - In Queue
  • timeout - Timeout
  • cancelled - Cancelled
  • scaling_up - Scaling Up
Available options:
running,
completed,
failed,
pending,
in_progress,
evaluating,
in_queue,
timeout,
cancelled,
scaling_up
success_rate
number<double>
default:0

Success rate of the test runs as a decimal (0.0 to 1.0)

run_as_text
boolean
default:false

Whether this test was run in text mode instead of voice mode Example: true or false

is_cronjob
string
read-only

Whether this result was created by a scheduled cronjob Example: true or false

runs
object
read-only

Run summaries for this result. For full run data including transcripts and metric scores, fetch the result detail endpoint — there runs is a dict keyed by run ID.

met_expected_outcome_count
string
read-only

Number of test runs that met the expected outcome criteria Example: 10

total_expected_outcome_count
string
read-only

Total number of test runs that were evaluated for expected outcomes Example: 10

total_runs_count
string
read-only

Total number of test runs associated with this result Example: 10

completed_runs_count
string
read-only

Number of test runs that have completed successfully Example: 10

success_runs_count
string
read-only

Number of test runs that were marked as successful Example: 10

failed_runs_count
string
read-only

Number of test runs that failed or encountered errors Example: 10

scenarios
object
read-only

List of scenario names used in the test runs for this result Example:

run_type
string | null
read-only

Run Execution Type

agent_version
string
read-only

The agent version (history record) this result ran against, or null.

created_at
string<date-time>
read-only

Timestamp when this test result was created Example: 2021-01-01 00:00:00

updated_at
string<date-time>
read-only

Timestamp when this test result was last updated