VocalDocscontracts 1.65.0

Archive an evaluation suite

DELETE /v1/prompt-eval-suites/{prompt_eval_suite_id}

PropertyValue
Operationarchive_prompt_eval_suite
GroupPrompt evaluations and experiments
Scopeprompts:write
Route classcontrol
IdempotencyNo Idempotency-Key
AuditAudited prompts.prompt_eval_suite.archive (mutation)
Released in1.55.0
Phase 0 hostServed (the hosted api pins 1.65.0)

Archives the suite at the revision If-Match names and answers it with archived_at set (1.55.0). Nothing is deleted: its scenarios and runs stay readable, a run already queued finishes, and the suite takes no further write or run (prompt_eval_suite_archived).

Request

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

curl -X DELETE "$VOCAL_API/v1/prompt-eval-suites/pes_..." \
  -H "Authorization: Bearer $VOCAL_API_KEY" \
  -H 'If-Match: "1"'

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.
if-matchheaderstringyesThe revision the change was made against, quoted as the ETag returns it, or * to overwrite.

Responses

StatusContent typeShapeError codes
200application/jsonPromptEvalSuite
400application/jsonErrorEnvelopeinvalid_request
401application/jsonErrorEnvelopeunauthenticated
403application/jsonErrorEnvelopeforbidden, org_suspended
404application/jsonErrorEnvelopenot_found
409application/jsonErrorEnvelopeprompt_eval_suite_archived
412application/jsonErrorEnveloperevision_mismatch
428application/jsonErrorEnvelopeprecondition_required
429application/jsonErrorEnveloperate_limited
500application/jsonErrorEnvelopeinternal_error

Fields of the 200 answer

The shape is PromptEvalSuite.

FieldTypeRequiredDescription
agent_idAgentIdyesThe Agent whose versions the suite evaluates.
archived_atTimestamp or nullyesWhen DELETE archived the suite, or null. An archived suite takes no write and no run (409 prompt_eval_suite_archived); its scenarios and runs stay readable.
calibrationPromptEvalJudgeCalibration or nullnoWhen the suite's judge was last calibrated (1.63.0): the latest completed calibration, null before the first. Absent from an api before 1.63.0, which a reader treats as null.
created_atTimestampyes
descriptionstring or nullyesFor reviewers; never sent to a model.
gatePromptEvalGate or nullnoThe publish gate the suite defines (1.63.0): the expectation types and must items that must hold, with the floor and margin of the judged items, which an Agent applies once its owner names the suite. Null for none; absent from an api before 1.63.0, which a reader treats as null.
idPromptEvalSuiteIdyes
judgeStageRef or nullyesThe model of the llm stage that reads each transcript of a simulated scenario with its rubric and returns a verdict per item, through a Vocal task template with structured output (section 9.1). Its results are advisory until it is checked against human labels, which 1.55.0 does not define and 1.63.0 does (calibration). Null until set; a run of a simulated scenario then refuses with prompt_eval_judge_required.
namestringyesA display name.
object"prompt_eval_suite"yes
organization_idOrganizationIdyes
repetitionsintegeryesHow many times a run repeats each scenario, because model replies vary.
revisionintegeryesCounts writes to the suite; returned as the ETag and required in If-Match.
scenario_countintegeryes
simulatorStageRef or nullyesThe model of the llm stage that plays the simulated callers, through a Vocal task template (section 9.1). Null until set; a run of a simulated scenario then refuses with prompt_eval_judge_required.
updated_atTimestampyes