Get an Intelligence Model
get
                    /rest/v19/intelligenceSetup/models/{modelId}
Use this endpoint to retrieve the specified intelligence model.
                
                Request
Path Parameters
                
                
                
                Query Parameters
                - 
                        expand: string
                        
                        When this parameter is provided, the specified children are included in the resource payload (instead of just a link). More than one child can be specified using comma as a separator. Example: ?expand=trainings,filters. To include all the children and grandchildren, specify the value of this query parameter to be "all".
- 
                        fields: string
                        
                        This parameter filters the resource attributes. Only the specified attributes are returned, which means that if no attributes are specified, all attributes are returned.
Response
Supported Media Types
                - application/json
200 Response
Success
                
                
                    Root Schema : IntelligenceModel
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            analyticsType(required): 
            string()
            Title:Analytics TypeAllowed Values:[ "productRecommendation" ]The analytics type.
- 
            createdBy: 
             Created By
            
            Title:Created ByRead Only:trueThe details of the user who created the record.
- 
            customerAlsoBought: 
            boolean()
            Title:Customer Also BoughtIndicates whether to perform the customer also bought analysis.
- 
            dateAdded: 
            string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
            Title:Date AddedRead Only:trueCreation Date of the Pricing Model.
- 
            dateFilter: 
            integer()
            Title:Date Filter Attribute IDThe ID of the attribute used in the date filter.
- 
            dateModified: 
            string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
            Title:Date ModifiedRead Only:trueLast Modified date of the Pricing Model.
- 
            description: 
            string()
            Title:DescriptionDescription of the pricing Model.
- 
            documentId: 
            integer()
            Title:Commerce Document IDThe commerce document ID.
- 
            documentName: 
            string()
            Title:Document NameRead Only:trueName of the source Document.
- 
            duration: 
            string()
            Title:DurationAllowed Values:[ "NONE", "THIRTYDAYS", "SIXTYDAYS", "SIXMONTHS", "ONEYEAR", "TWOYEAR", "ALL" ]The duration of the date filter.
- 
            filters: 
             Filters
            
            Title:FiltersRead Only:trueList of filters to be applied for the Intelligence Model.
- 
            frequentlyBoughtTogether: 
            boolean()
            Title:Frequtently Bought TogetherIndicates whether to perform the frequently bought together analysis.
- 
            id: 
            integer()
            Title:IDRead Only:trueID of the Intelligence Model.
- 
            lastModifiedBy: 
             Last Modified By
            
            Title:Last Modified ByRead Only:trueThe details of the user who modified the record.
- 
            links: 
            array  Links
            
            Title:LinksRead Only:trueThe link relations associated with the resource instance.
- 
            maxNumOutput: 
            integer()
            Title:Maximum Number of OutputsThe maximum number of outputs.
- 
            name(required): 
            string()
            Title:NameName of the Intelligence Model.
- 
            processId: 
            integer()
            Title:Commerce Process IDThe commerce process ID.
- 
            processName: 
            string()
            Title:Process NameRead Only:trueName of the source Process.
- 
            trainings: 
             Trainings
            
            Title:TrainingsRead Only:trueList of trainings done for the Intelligence Model.
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 : Filters
    
      
      
    
    
    
    Title: 
    
    
    
    
    FiltersRead Only: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    trueList of filters to be applied for the Intelligence Model.
    
    
    
    
    
    
    Match All
    
        
            List of filters to be applied for the Intelligence Model.
        
    
    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 : Trainings
    
      
      
    
    
    
    Title: 
    
    
    
    
    TrainingsRead Only: 
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    trueList of trainings done for the Intelligence Model.
    
    
    
    
    
    
    Match All
    
        
            List of trainings done for the Intelligence Model.
        
    
    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
Nested Schema : PricingResourceCollection_IntelligenceFilter
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            count: 
            integer()
            Title:CountRead Only:trueThe number of resource instances returned in the current range.
- 
            createdBy: 
             Created By
            
            Title:Created ByRead Only:trueThe details of the user who created the record.
- 
            hasMore: 
            boolean()
            Title:HasMoreRead Only:trueIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
- 
            items: 
            array  items
            
            
- 
            lastModifiedBy: 
             Last Modified By
            
            Title:Last Modified ByRead Only:trueThe details of the user who modified the record.
- 
            limit: 
            integer()
            Title:LimitRead Only:trueThe actual paging size used by the server.
- 
            links: 
            array  Links
            
            Title:LinksRead Only:trueThe link relations associated with the resource instance.
- 
            offset: 
            integer()
            Title:OffSetRead Only:trueThe offset value used in the current page.
- 
            totalResults: 
            integer()
            Title:Total ResultsRead Only:trueCaptures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : IntelligenceFilter
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            _proxy_id: 
            integer()
            Title:Proxy IDRead Only:trueThe proxy identifier for the resource that was added.
- 
            attributeId(required): 
            integer()
            Title:Attribute IDID of the attribute used on the left hand side of the filter.
- 
            attributeLabel: 
            string()
            Title:Attribute LabelRead Only:trueLabel of the attribute used on the left hand side of the filter.
- 
            attributeValue(required): 
            string()
            Title:ValueValue on the right hand side of the filter. This value must either be the variable name of the source attribute or prefixed with '#SPECIFIC_' for static values.
- 
            attributeValueLabel: 
            string()
            Title:ValueRead Only:trueLabel of the attribute used as the Value on the right hand side of the filter. If this value is static, then this will just be the value.
- 
            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 Pricing Model.
- 
            dateModified: 
            string(yyyy-MM-dd'T'HH:mm:ss.SSS'Z')
            Title:Date ModifiedRead Only:trueLast Modified date of the Pricing Model.
- 
            id: 
            integer()
            Title:IDRead Only:trueID of the Intelligence Filter.
- 
            lastModifiedBy: 
             Last Modified By
            
            Title:Last Modified ByRead Only:trueThe details of the user who modified the record.
- 
            links: 
            array  Links
            
            Title:LinksRead Only:trueThe link relations associated with the resource instance.
- 
            operator(required): 
            string()
            Title:OperatorAllowed Values:[ "_eq", "_not_eq", "_gr", "_le", "_gr_eq", "_le_eq", "_none", "_like", "_notlike", "_emp", "_not_emp" ]Operator used in the filter.
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 : PricingResourceCollection_IntelligenceTraining
    
      Type: 
      
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    
    Show Source
        object- 
            count: 
            integer()
            Title:CountRead Only:trueThe number of resource instances returned in the current range.
- 
            createdBy: 
             Created By
            
            Title:Created ByRead Only:trueThe details of the user who created the record.
- 
            hasMore: 
            boolean()
            Title:HasMoreRead Only:trueIndicates whether more resources are available on the server than the subset returned in the response. If the value is true, then there are more resources to retrieve from the server. The default value is false.
- 
            items: 
            array  items
            
            
- 
            lastModifiedBy: 
             Last Modified By
            
            Title:Last Modified ByRead Only:trueThe details of the user who modified the record.
- 
            limit: 
            integer()
            Title:LimitRead Only:trueThe actual paging size used by the server.
- 
            links: 
            array  Links
            
            Title:LinksRead Only:trueThe link relations associated with the resource instance.
- 
            offset: 
            integer()
            Title:OffSetRead Only:trueThe offset value used in the current page.
- 
            totalResults: 
            integer()
            Title:Total ResultsRead Only:trueCaptures the total count of the resource instances, which not only includes the instances in the current range, but all instances on the server that satisfy the request.
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 : 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
        
        
    
    
    
    
    
    
Examples
The following examples show how to retrieve the specified intelligence model by submitting a GET request to the REST resource using cURL. For more information about cURL, see Use cURL.
The 'limit' query specification is used in the following example to limit the results to three models per page.
curl - X GET -H "Authorization: Bearer <token>" - H "Content-type: application/json" https://sitename.oracle.com/rest/v19/intelligenceSetup/models/334523
Response Body Sample
{
  "id": 334523,
  "name": "Product Recommendation",
  "frequentlyBoughtTogether": true,
  "customerAlsoBought": true,
  "algorithm": "AssociationRules",
  "description": "Seeded product recommendation.",
  "analyticType": "ProductRecommendation",
  "dateFilter": "LastSixMonths",
  "processName": "Quote Process",
  "processId": "4534256",
  "documentName": "Sub Document",
  "documentId": "2234256",
  "createdBy": {
    "firstName": "Super",
    "lastName": "User",
    "emailId": "junk@bigmachines.com"
  },
  "lastModifiedBy": {
    "firstName": "Super",
    "lastName": "User",
    "emailId": "junk@bigmachines.com"
  },
  "dateAdded": "06/05/2024 10:23 PM",
  "dateModified": "06/05/2024 10:23 PM"
}