dots.v2.genAi.evaluation_datasets.post()
Generated on 5 Nov 2026
from DoTs version
v1.23.0
Usage
client.v2.genAi.evaluation_datasets.post(body: ApiCreateEvaluationDatasetInputPublic, requestConfiguration?: RequestConfiguration<object>): Promise<undefined | ApiCreateEvaluationDatasetOutput>Description
To create an evaluation dataset, send a POST request to /v2/gen-ai/evaluation_datasets.
Parameters
datasetParadigmstring optionalEvaluationDatasetParadigm is the row/content shape of a dataset, orthogonal to the
surface in EvaluationDatasetType (e.g. a model dataset can be single- or multi-turn).datasetTypestring optionalfileUploadDatasetobject optionalFile to upload as data source for knowledge base.
Show child properties
originalFileNamestring optionalExample:
example nameThe original file name
sizeInBytesstring optionalExample:
12345The size of the file in bytes
storedObjectKeystring optionalExample:
example stringThe object key the file was stored as
namestring optionalExample:
example nameThe name of the agent evaluation dataset.
Request Sample
Response Example
More Information
See /v2/gen-ai/evaluation_datasets in the API reference for additional detail on responses, headers, parameters, and more.