/v2/gen-ai/evaluation_datasetsCreate an evaluation dataset
Creates an evaluation dataset for agent evaluation. Set dataset_paradigm to describe the dataset row format and dataset_type to identify its type; both fields have defaults when omitted. Include file_upload_dataset to associate an uploaded file with the dataset.
- IdempotentThe SDK sends
Idempotency-Key, so a retried request is only applied once.
Evaluation dataset details, including its name, dataset type and paradigm, and optional uploaded-file metadata.
A 401 is returned when credentials are invalid. A 404 is returned when a requested resource is not found. A 429 is returned when the API rate limit is exceeded. A 500 is returned when the server encounters an error. dataset_paradigm must be one of EVALUATION_DATASET_PARADIGM_SINGLE_TURN, EVALUATION_DATASET_PARADIGM_MULTI_TURN, EVALUATION_DATASET_PARADIGM_CODING, or EVALUATION_DATASET_PARADIGM_N_PLUS_1; dataset_type must be EVALUATION_DATASET_TYPE_UNKNOWN or EVALUATION_DATASET_TYPE_MODEL.