Skip to Content
API ReferenceEvalPOST /duplicate

POST /eval/duplicate

Duplicate Eval

Duplicate an eval — composable infra architecture.

Request Body (DuplicateEvalApiRequest)

FieldTypeRequiredDescription
eval_idstringYesEval UUID to duplicate
idempotency_keystringNoOperation key for ack — promotes or rejects a dormant duplicate
softbooleanNoStage the duplicate dormant (active=False) — propose; the ack ({idempotency_key, accept}) promotes/rejects it
acceptbooleanNoAccept (promote) or reject dormant state. Only meaningful with idempotency_key

Response (DuplicateEvalApiResponse)

FieldTypeRequiredDescription
successbooleanYesWhether the operation succeeded
eval_idstringYesNewly created eval UUID
messagestringYesHuman-readable result message
idempotency_keystringNoIdempotency key echoed back for client correlation
evalsListEvalApiEval[]NoHydrated list rows for the duplicated eval — single-element list, kept as a list for shape consistency with create/update. None for soft-pending duplicates.
Last updated on