Skip to main content
POST
Simplify metric prompt with AI

Authorizations

X-CEKURA-API-KEY
string
header
required

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

Body

original_prompt
string
required

The verbose prompt to simplify.

metric_id
integer

Metric the prompt belongs to. Optional.

Response

status
enum<string>

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

Available options:
completed,
failed
original_prompt
string
metric_id
integer | null
simplified_prompt
string
skipped_simplification
boolean

True when the metric was already optimized and the stored prompt is returned.

error
string | null

Why the job failed, when it did.