Start Prompt Version Evaluation Job
Start an offline evaluation of a version against the prompt's eval dataset and graders. The response carries eval run id; poll it with Get Prompt Version Eva…
Start an offline evaluation of a version against the prompt's eval dataset and graders. The response carries eval_run_id; poll it with Get Prompt Version Eval Run. Fails with 400 when no dataset or grader is attached.
https://statsigapi.net/console/v1/prompts/{id}/versions/{versionId}/start_evalsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
versionIdstringrequiredidstringrequiredid
Response
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequiredmin length: 3max length: 100namestringrequiredmin length: 3max length: 100typestringLive is served to users; Candidate is served to code for shadow runs; Draft and Archive are not served.
LiveCandidateArchiveDraftversionnumberformat: doublepromptsobject[]rolestringrequiredcontentstringrequiredmodelstringproviderstringeval_modelstringtemperaturenumberformat: doubletop_pnumberformat: doublemax_tokensnumberformat: doublefrequency_penaltynumberformat: doublepresence_penaltynumberformat: doubleworkflow_urlstringnullablecreatedTimenumberformat: doublelastModifiedTimenumberformat: doubleeval_run_idstringSet only by Start Prompt Version Evaluation Job: the eval run it started. Poll it with List Prompt Version Eval Runs.
statusintegerrequired400messagestringrequiredstatusintegerrequired402messagestringrequiredstatusintegerrequired404messagestringrequiredWas this helpful?
For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.