Validate that a set of Datasets can be combined
Changed onSynchronous 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.
Request
- The document declares no server URL.
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
Returns {compatible, issues, training_type?, total_estimated_rows?}. Each entry in issues carries a level ("error" or "warning"), a stable code, a preformed user-facing message, and code-specific structured context. Error codes block the merge; warning codes describe reconciliation the merge performs automatically.
Changes
- info
added the media type
application/jsonfor the response with the status
- info