For AI agents: a documentation index is available at /llms.txt. Append .md to any page URL for markdown, or send Accept: text/markdown.
Create Eval Dataset
Create a dataset, optionally with rows. Columns are taken from the row cells; rows may record the production trace they came from.
Create a dataset, optionally with rows. Columns are taken from the row cells; rows may record the production trace they came from.
https://statsigapi.net/console/v1/eval_datasetsAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Body
application/jsonnamestringrequiredDataset name, unique in the project.
min length: 1rowsobject[]Show child attributes
columnsobject[]requiredCell values by column name. A column name not yet on the dataset is added to it.
namestringrequiredmin length: 1valuestringrequiredgroupsstring[]Group names for the row, created when new.
sourceTraceIDstringTrace the row was taken from, when it came from production.
sourceSpanIDstringoutputFieldsstring[]Column names that hold outputs to grade instead of generating completions.
descriptionstringResponse
application/jsonmessagestringrequiredA simple string explaining the result of the operation.
dataobjectrequiredShow child attributes
idstringrequirednamestringrequireddescriptionstringrequiredisGlobalbooleanrequiredversionnumberrequiredCounter bumped on every edit to the dataset rows or columns.
format: doublecolumnsobject[]requiredidstringrequirednamestringrequiredgroupsobject[]requiredidstringrequirednamestringrequiredoutputFieldsstring[]requiredimageFieldsstring[]requiredcreatedTimenumberrequiredformat: doublelastModifiedTimenumberrequiredformat: doublestatusintegerrequired400messagestringrequiredWas this helpful?