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.

posthttps://statsigapi.net/console/v1/eval_datasets

Authorizations

STATSIG-API-KEYstringrequired

apiKey (header)

Body

application/json
namestringrequired

Dataset name, unique in the project.

Constraints:min length: 1
rowsobject[]
Show child attributes
columnsobject[]required

Cell values by column name. A column name not yet on the dataset is added to it.

namestringrequired
Constraints:min length: 1
valuestringrequired
groupsstring[]

Group names for the row, created when new.

sourceTraceIDstring

Trace the row was taken from, when it came from production.

sourceSpanIDstring
outputFieldsstring[]

Column names that hold outputs to grade instead of generating completions.

Other properties1
descriptionstring

Response

application/json
201· Create Eval Dataset
messagestringrequired

A simple string explaining the result of the operation.

dataobjectrequired
Show child attributes
idstringrequired
namestringrequired
descriptionstringrequired
isGlobalbooleanrequired
versionnumberrequired

Counter bumped on every edit to the dataset rows or columns.

Constraints:format: double
columnsobject[]required
idstringrequired
namestringrequired
groupsobject[]required
idstringrequired
namestringrequired
outputFieldsstring[]required
imageFieldsstring[]required
createdTimenumberrequired
Constraints:format: double
lastModifiedTimenumberrequired
Constraints:format: double
400· Invalid request. Please check the request input and try again.
statusintegerrequired
Allowed values:400
messagestringrequired

Was this helpful?