Deploy Intelligence Model Training
post
/rest/v19/intelligenceSetup/models/{modelId}/actions/deploy
Use this endpoint to deploy the most recent training for the specified intelligence model.
Request
Supported Media Types
- application/json
Path Parameters
Root Schema : IntelligenceDeployment
Type:
Show Source
object
-
trainingId:
integer()
Title:
ID
ID of the Intelligence Training.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : IntelligenceTraining
Type:
Show Source
object
-
analyticsInfo:
string()
Title:
Training Information
Read Only:true
Information about the training. -
createdBy:
Created By
Title:
Created By
Read Only:true
The details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Added
Read Only:true
Creation Date of the Training. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date Modified
Read Only:true
Last Modified date of the Training. -
duration:
integer()
Title:
Duration
Read Only:true
Training duration. -
id:
integer()
Title:
ID
Read Only:true
ID of the Intelligence Training. -
lastDeployed:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Last Deployed
Read Only:true
Date of the training's last deployment. -
lastModifiedBy:
Last Modified By
Title:
Last Modified By
Read Only:true
The details of the user who modified the record. -
learningTimeElapsed:
string()
Title:
Learning Time
Read Only:true
Learning time elapsed. -
links:
array Links
Title:
Links
Read Only:true
The link relations associated with the resource instance. -
message:
string()
Title:
Message
Read Only:true
Training message. -
status:
string()
Title:
Status
Read Only:true
Allowed Values:[ "Started", "Completed", "Failed" ]
Training status. -
testErrorRate:
number()
Title:
Test Error Rate
Read Only:true
Test error rate. -
totalRecords:
integer()
Title:
Total Records
Read Only:true
Total number of records used for training. -
trainingErrorRate:
number()
Title:
Training Error Rate
Read Only:true
Training error rate.
Nested Schema : Created By
Title:
Created By
Read Only:
true
The details of the user who created the record.
Match All
The details of the user who created the record.
Show Source
Nested Schema : Last Modified By
Title:
Last Modified By
Read Only:
true
The details of the user who modified the record.
Match All
The details of the user who modified the record.
Show Source
Nested Schema : Links
Type:
array
Title:
Links
Read Only:
true
The link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object
-
emailId:
string()
Title:
Email Id
Email Id of the user -
firstName:
string()
Title:
First Name
First Name of the user -
lastName:
string()
Title:
Last Name
Last Name of the user
Examples
The following example shows how to deploy most recent training for the specified intelligence model by submitting a POST request to the REST resource using cURL. For more information about cURL, see Use cURL.
curl - X POST -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/intelligenceSetup/models/334523/actions/deploy
Request Body Sample
{ "trainingId": 3023602739 }
Response Body Sample
{ "id": 3023602739, "dateModified": "2025-02-27T10:13:23Z", "dateAdded": "2025-02-27T10:12:01Z", "learningTimeElapsed": "72", "status": "Completed", "message": "The model was built successfully.", "lastDeployed": "2025-02-27T10:13:23Z", "totalRecords": 2132 }