Perform project retrain
post/projects/{projectId}/retrainJobs
Performs project retrain by passing a data table to use for retraining. If action=batch is set in the request, this API call performs all the operations required to retrain the project including running the pipelines. If not, retraining is initiated but the pipelines are not run. The response object contains the job created for performing retraining.
1{2 "creationTimeStamp": "2023-09-29T11:00:10.301Z",3 "createdBy": "username",4 "modifiedTimeStamp": "2023-09-29T11:00:11.608Z",5 "modifiedBy": "username",6 "version": 4,7 "id": "73276840-280e-4c9e-8d6a-8033ce42d66f",8 "state": "running",9 "jobRequest": {10 "version": 3,11 "name": "Batch Retrain Job for Data Mining",12 "description": "This job handles all of the tasks necessary to perform a batch retrain of the Data Mining Project (ID 27365513-b8cb-409e-910e-a679d3f1b4cb).",13 "jobDefinition": {14 "version": 2,15 "type": "datamining",16 "code": "null",17 "properties": [18 {19 "name": "retrainingJobName",20 "value": "batchRetraining"21 },22 {23 "name": "projectId",24 "value": "27365513-b8cb-409e-910e-a679d3f1b4cb"25 },26 {27 "name": "dataUri",28 "value": "/dataTables/dataSources/cas~fs~cas-shared-default~fs~Public/tables/HMEQ"29 }30 ]31 },32 "arguments": {33 "dataMiningProjectId": "27365513-b8cb-409e-910e-a679d3f1b4cb",34 "jobName": "batchRetraining"35 },36 "createdByApplication": "datamining"37 },38 "heartbeatInterval": 0,39 "elapsedTime": 1440,40 "submittedByApplication": "datamining",41 "links": []42}
| Status | Meaning | Description | ||
|---|---|---|---|---|
| 202 | Accepted | The project retrain request has been accepted for processing, but the processing has not been completed. | Headers | Schema |
| 400 | Bad Request | The project retrain request was invalid. | Schema |