Skip to main content
POST
Generate metrics

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

The ID of the AI agent to generate metrics for. Either agent_id or assistant_id must be provided.

assistant_id
string

The assistant ID to generate metrics for. Either agent_id or assistant_id must be provided.

num_metrics
integer
default:1

Number of metrics to generate

Required range: 1 <= x <= 100

Response

status
enum<string>

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

Available options:
completed,
failed
agent_id
integer
current_step
string
metrics
object[]

Suggested metrics. They are not saved; pass them to Create Metrics in Bulk.

error
string | null

Why the job failed, when it did.