v2
latestOpenAPI 3.1.02026-08-05267431678.1 KBfelix
Analyze Dataset
Analyze a dataset for quality, distribution, and potential issues.
Supports NER, Classification, and Generative task types. Available analyses: distribution, duplicates, outliers, correlation, splits, errors, and diversity (Vendi score + embedding visualisation).
Provide data inline via dataset or reference a stored dataset with dataset_name. See DatasetAnalysisRequest schema for the full set of options including diversity visualisation config.
post/felix/dataset/analyze
Request body
Example request
{
"analyses": [
"distribution",
"outliers",
"duplicates",
"diversity"
],
"dataset": [
{
"entities": [
[
"Apple",
"ORG"
],
[
"U.K.",
"GPE"
],
[
"$1 billion",
"MONEY"
]
],
"text": "Apple is looking at buying U.K. startup for $1 billion"
},
{
"entities": [
[
"San Francisco",
"GPE"
]
],
"text": "San Francisco considers banning sidewalk delivery robots"
}
],
"options": {
"diversity_visualization": {
"dimensions": 3,
"method": "tsne",
"tsne_perplexity": 25
}
},
"query": "What is the distribution of entity types?",
"task_type": "ner"
}Response
Successful Response