Perform project retrain(Deprecated)

post/projects/{projectId}/retrainJobs
Internal-Use Only

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.

Request Samples

1

Response Samples

1{
2 "version": 0,
3 "id": "string",
4 "state": "string",
5 "results": {},
6 "error": {
7 "message": "string",
8 "id": "string",
9 "errorCode": 0,
10 "httpStatusCode": 0,
11 "details": [
12 "string"
13 ],
14 "remediation": "string",
15 "errors": [
16 {}
17 ],
18 "links": [
19 {
20 "method": "string",
21 "rel": "string",
22 "uri": "string",
23 "href": "string",
24 "title": "string",
25 "type": "string",
26 "itemType": "string",
27 "responseType": "string",
28 "responseItemType": "string"
29 }
30 ],
31 "version": 0
32 },
33 "jobRequest": {
34 "version": 0,
35 "id": "string",
36 "name": "string",
37 "description": "string",
38 "creationTimeStamp": "string",
39 "modifiedTimeStamp": "string",
40 "createdBy": "string",
41 "modifiedBy": "string",
42 "jobDefinitionUri": "string",
43 "jobDefinition": {},
44 "expiresAfter": "string",
45 "arguments": {},
46 "properties": {
47 "property1": "string",
48 "property2": "string"
49 },
50 "links": [
51 {
52 "method": "string",
53 "rel": "string",
54 "uri": "string",
55 "href": "string",
56 "title": "string",
57 "type": "string",
58 "itemType": "string",
59 "responseType": "string",
60 "responseItemType": "string"
61 }
62 ]
63 },
64 "heartbeatInterval": -2147483648,
65 "heartbeatTimeStamp": "string",
66 "creationTimeStamp": "string",
67 "modifiedTimeStamp": "string",
68 "endTimeStamp": "string",
69 "expirationTimeStamp": "string",
70 "createdBy": "string",
71 "modifiedBy": "string",
72 "links": [
73 {
74 "method": "string",
75 "rel": "string",
76 "uri": "string",
77 "href": "string",
78 "title": "string",
79 "type": "string",
80 "itemType": "string",
81 "responseType": "string",
82 "responseItemType": "string"
83 }
84 ]
85}

Path Parameters

NameTypeRequiredDescription
projectId
string
true

The identifier of the project.

Query Parameters

NameTypeRequiredDescription
action
string
false

The retraining action.

dataUri
string
true

The URL of the data table.

Responses

StatusMeaningDescription
202AcceptedThe project retrain request has been accepted for processing, but the processing has not been completed.HeadersSchema
400Bad RequestThe project retrain request was invalid.Schema