VocalDocscontracts 1.65.0

Read a calibration

GET /v1/prompt-eval-suites/{prompt_eval_suite_id}/calibrations/{calibration_id}

PropertyValue
Operationget_prompt_eval_calibration
GroupPrompt evaluations and experiments
Scopeprompts:read
Route classread
IdempotencyNo Idempotency-Key
AuditNot audited: A metadata read; a label or a calibration holds ids, keys, verdict values and rates, never Call content.
Released in1.63.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Answers one calibration (1.63.0): its sample with each entry labelled or not, the judge compared, its status and job, and once completed the agreement per rubric kind with intervals and whether it met the target.

Request

Set VOCAL_API to the base URL of your API and VOCAL_API_KEY to an API key with the prompts:read scope (Authentication and keys). Replace each placeholder, such as agt_... or <name>, with your own value.

curl "$VOCAL_API/v1/prompt-eval-suites/pes_.../calibrations/pec_..." \
  -H "Authorization: Bearer $VOCAL_API_KEY"

Parameters

NameInTypeRequiredDescription
prompt_eval_suite_idpathPromptEvalSuiteIdyesThe id of an evaluation suite: pes_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.
calibration_idpathPromptEvalCalibrationIdyesThe id of a calibration of an evaluation suite's judge against human labels (1.63.0): pec_ and the row's UUIDv7 in 26 Crockford base32 characters. Opaque and safe to log.

Responses

StatusContent typeShapeError codes
200application/jsonPromptEvalCalibration
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden
404application/jsonErrorEnvelopenot_found
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is PromptEvalCalibration.

FieldTypeRequiredDescription
agreementPromptEvalAgreement or nullyesNull until completed.
cost_linesarray of PromptEvalCostLineyes
created_atTimestampyes
created_byActorRefyes
error_codestring or nullyes
finished_atTimestamp or nullyes
from_calibration_idPromptEvalCalibrationId or nullyesThe calibration whose labelled sample this one reuses; null when it drew its own.
idPromptEvalCalibrationIdyes
job_idJobId or nullyesThe prompt.calibration job that compares; null while labelling.
judgeStageRefyes
labelledintegeryesThe entries that carry a label.
meets_targetboolean or nullyesWhether the agreement met the target (calibrationMeetsTarget); null until completed.
object"prompt_eval_calibration"yes
run_idPromptEvalRunIdyesThe run the sample was drawn from.
samplearray of PromptEvalCalibrationEntryyes
started_atTimestamp or nullyes
statusPromptEvalCalibrationStatusyes
suite_idPromptEvalSuiteIdyes
suite_revisionintegeryes
targetPromptEvalCalibrationTargetyes