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:
IDID of the Intelligence Training.
Response
Supported Media Types
- application/json
200 Response
Success
Root Schema : IntelligenceTraining
Type:
Show Source
object-
analyticsInfo:
string()
Title:
Training InformationRead Only:trueInformation about the training. -
createdBy:
Created By
Title:
Created ByRead Only:trueThe details of the user who created the record. -
dateAdded:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date AddedRead Only:trueCreation Date of the Training. -
dateModified:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Date ModifiedRead Only:trueLast Modified date of the Training. -
duration:
integer()
Title:
DurationRead Only:trueTraining duration. -
id:
integer()
Title:
IDRead Only:trueID of the Intelligence Training. -
lastDeployed:
string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
Title:
Last DeployedRead Only:trueDate of the training's last deployment. -
lastModifiedBy:
Last Modified By
Title:
Last Modified ByRead Only:trueThe details of the user who modified the record. -
learningTimeElapsed:
string()
Title:
Learning TimeRead Only:trueLearning time elapsed. -
links:
array Links
Title:
LinksRead Only:trueThe link relations associated with the resource instance. -
message:
string()
Title:
MessageRead Only:trueTraining message. -
status:
string()
Title:
StatusRead Only:trueAllowed Values:[ "Started", "Completed", "Failed" ]Training status. -
testErrorRate:
number()
Title:
Test Error RateRead Only:trueTest error rate. -
totalRecords:
integer()
Title:
Total RecordsRead Only:trueTotal number of records used for training. -
trainingErrorRate:
number()
Title:
Training Error RateRead Only:trueTraining error rate.
Nested Schema : Created By
Title:
Created ByRead Only:
trueThe 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 ByRead Only:
trueThe 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:
arrayTitle:
LinksRead Only:
trueThe link relations associated with the resource instance.
Show Source
Nested Schema : UserDetails
Type:
Show Source
object-
emailId:
string()
Title:
Email IdEmail Id of the user -
firstName:
string()
Title:
First NameFirst Name of the user -
lastName:
string()
Title:
Last NameLast 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
}