Train an Intelligence Model
post
                    /rest/v19/intelligenceSetup/models/{modelId}/actions/train
Use this endpoint start an intelligence model training session.
                
                Request
Supported Media Types
                - application/json
Path Parameters
                
                
                
                
                
                
                
                
                
                Back to Top
                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 start an intelligence model training session 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/321456/actions/train
Request Body Sample
[{
    "id": 321456,
    "startDate": "2024-08-09T07:00:00Z",
    "status": "In Progress"
  }
]