Skip to content
SupportLogin

Validate that a set of Datasets can be combined

datasets.combine.validate(CombineValidateParams**kwargs)
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.

ParametersExpand Collapse
dataset_ids: Sequence[str]

Source Dataset IDs to combine. Must all belong to the caller’s org and be in a combinable state.

Validate that a set of Datasets can be combined

import os
from adaption import Adaption

client = Adaption(
    api_key=os.environ.get("ADAPTION_API_KEY"),  # This is the default and can be omitted
)
client.datasets.combine.validate(
    dataset_ids=["string", "string"],
)
Returns Examples