Tests
Create test
Create a test in a project.
Python
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your workspace API key. See Find your API key for more information.
Body
application/json
The test subtype.
Available options:
anomalousColumnCount, characterLength, classImbalanceRatio, expectColumnAToBeInColumnB, columnAverage, columnDrift, columnStatistic, columnValuesMatch, conflictingLabelRowCount, containsPii, containsValidUrl, correlatedFeatureCount, customMetricThreshold, duplicateRowCount, emptyFeature, emptyFeatureCount, driftedFeatureCount, featureMissingValues, featureValueValidation, greatExpectations, groupByColumnStatsCheck, illFormedRowCount, isCode, isJson, llmRubricThresholdV2, labelDrift, metricThreshold, newCategoryCount, newLabelCount, nullRowCount, rowCount, ppScoreValueValidation, quasiConstantFeature, quasiConstantFeatureCount, sqlQuery, dtypeValidation, sentenceLength, sizeRatio, specialCharactersRatio, stringValidation, trainValLeakageRowCount Example:
"duplicateRowCount"
Response
Status OK.
The test subtype.
Available options:
anomalousColumnCount, characterLength, classImbalanceRatio, expectColumnAToBeInColumnB, columnAverage, columnDrift, columnStatistic, columnValuesMatch, conflictingLabelRowCount, containsPii, containsValidUrl, correlatedFeatureCount, customMetricThreshold, duplicateRowCount, emptyFeature, emptyFeatureCount, driftedFeatureCount, featureMissingValues, featureValueValidation, greatExpectations, groupByColumnStatsCheck, illFormedRowCount, isCode, isJson, llmRubricThresholdV2, labelDrift, metricThreshold, newCategoryCount, newLabelCount, nullRowCount, rowCount, ppScoreValueValidation, quasiConstantFeature, quasiConstantFeatureCount, sqlQuery, dtypeValidation, sentenceLength, sizeRatio, specialCharactersRatio, stringValidation, trainValLeakageRowCount Example:
"duplicateRowCount"