Validate that a set of Datasets can be combined
Validate that a set of Datasets can be combined
POST/api/v1/datasets/combine/validate
Synchronous compatibility check. Returns a single issues array containing both blockers (level: "error") and reconcilable concerns (level: "warning"). compatible: false means at least one error-level issue is present (cardinality, ownership, status, run_id). Warning-level entries — column-type mismatches, DPO sources missing ranked generations — are non-blocking; the merge resolves them automatically (mixed types downgrade to instruction_dataset, type mismatches CAST to a common type, etc.). Nothing is written.
Body ParametersJSON
Validate that a set of Datasets can be combined
curl https://api.prod.adaptionlabs.ai/api/v1/datasets/combine/validate \
-H 'Content-Type: application/json' \
-H "Authorization: Bearer $ADAPTION_API_KEY" \
-d '{
"dataset_ids": [
"string",
"string"
]
}'{
"compatible": true,
"training_type": "instruction_dataset",
"total_estimated_rows": 0,
"issues": [
{
"code": "too_few_sources",
"level": "error",
"message": "message",
"count": 0,
"limit": 0,
"dataset_id": "dataset_id",
"status": "status",
"dataset_ids": [
"string"
],
"multimodal_dataset_ids": [
"string"
],
"text_dataset_ids": [
"string"
],
"columns": [
{
"column": "column",
"types": [
{
"dataset_id": "dataset_id",
"type": "type"
}
],
"cast_to": "cast_to"
}
],
"types": [
{
"dataset_id": "dataset_id",
"training_type": "instruction_dataset"
}
]
}
]
}Returns Examples
{
"compatible": true,
"training_type": "instruction_dataset",
"total_estimated_rows": 0,
"issues": [
{
"code": "too_few_sources",
"level": "error",
"message": "message",
"count": 0,
"limit": 0,
"dataset_id": "dataset_id",
"status": "status",
"dataset_ids": [
"string"
],
"multimodal_dataset_ids": [
"string"
],
"text_dataset_ids": [
"string"
],
"columns": [
{
"column": "column",
"types": [
{
"dataset_id": "dataset_id",
"type": "type"
}
],
"cast_to": "cast_to"
}
],
"types": [
{
"dataset_id": "dataset_id",
"training_type": "instruction_dataset"
}
]
}
]
}