Train Ml
POST /api/creative/lore/ml/train
POST
/api/creative/lore/ml/train
Train or retrain ML models for the active project.
Request Body required
Section titled “Request Body required ” LoreMLTrainRequest
Request to train/retrain ML models.
object
force
Force
Force retrain even if recent
boolean
Responses
Section titled “ Responses ”Successful Response
LoreMLTrainResponse
Response from ML training.
Per-module failures are no longer reported as a list — any phase
failure raises LoreMLPhaseError and the conduit converts that to
HandlerResult(success=False) with a structured error message
naming the failing phase. A successful response means every phase
persisted cleanly.
object
clustersFound
required
Clustersfound
integer
anomaliesDetected
required
Anomaliesdetected
integer
contradictionsFound
required
Contradictionsfound
integer
trainingDurationMs
required
Trainingdurationms
integer
maturityStats
Maturitystats
object
key
additional properties
integer
validationIssuesFound
Validationissuesfound
integer
coverageReportsGenerated
Coveragereportsgenerated
integer
Validation Error
HTTPValidationError
object
detail
Detail
Array<object>
ValidationErrorobject
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context