Skip to main content
POST
Preview metric

Authorizations

X-CEKURA-API-KEY
string
header
required

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

Body

metric_data
object
required

Metric configuration to evaluate

agent_id
integer

Agent ID - all call logs/runs must belong to this agent

project_id
integer

Project ID - all call logs/runs must belong to this project

call_log_ids
integer[]

List of call log IDs to evaluate (maximum 10, required if run_ids not provided)

Required array length: 1 - 10 elements
run_ids
integer[]

List of run IDs to evaluate (maximum 10, required if call_log_ids not provided)

Required array length: 1 - 10 elements

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
completed
integer

Items evaluated.

total
integer
results
object[]
error
string | null

Why the job failed, when it did.