Footer Section
Explore

Validates each term in the conditions list, ensuring it is correct and ready to be processed.
Conditions are validated as follows:
Tenant name
Instance URL of the org
Module for display config, such as "clm", "cpq", or "qtc".
User ID of the logged-in user
Full name of the logged-in user
iSearch rule query block
Primary object being queried
List of conditions specifying the candidate objects on which the query plan shall be executed
If true, resolve query and return object IDs matching the query.
If true, return query plan used to resolve the NL phrase.
If true, redact input phrase details in analytics logging.
If true, applies a default implicit alias to applicable objects. For example, when querying for opportunities, only opportunities with the stage field set to open
are returned.
If true, only records owned or created by the searching user are searched.
Time, in minutes, that document lookups will be cached (0 to 60). If <= 0, cache is disabled.
Maximum number of records to pull up during document search
Maximum number of records to return in a single response
Enables counting records matching the query, regardless of limit
Enables a search of the doc version
Enables a search of document contents
Enables an agreement doc search
If set, one array row is returned for each document
List of file names to be included in the document search. If specified, overrides the excludeFiles setting.
List of file names to be excluded from the document search. If includeFiles is also specified, excludeFiles is ignored.
Time, in milliseconds, allowed for the execution of a search query. The maximum permissible timeout is 90 seconds.
Any JSON object to be logged in an analytics payload.
OK
curl --request POST \--url 'https://idd_url/idd/api/v2/congasfdc/insights/validate?userid=0054T000000dqllQAA&username=Gilad+Turbahn&instanceurl=https%3A%2F%2Fmax1.my.salesforce.com&module=clm' \--header 'Authorization: Bearer 123' \--header 'Content-Type: application/json' \--header 'X-API-Key: 123' \--data '{"name": "MSA-Risk","primaryObject": "Apttus__APTS_Agreement__c","scope": ["a0C4T000000ifZZUAY"],"clause": {"Apttus__APTS_Agreement__c": {"terms": {"expression": "(1 AND ((2 AND 3) OR 4 OR 5) AND 6 AND (7 OR 8))","conditions": [{"field": "Apttus__Contract_Start_Date__c","fieldType": "mergedField","fieldId": "1039","operator": "NLExpression","value": "less than 30 days from now"},{"field": "Apttus__Contract_End_Date__c","fieldType": "mergedField","fieldId": "1040","operator": "NLExpression","value": "after ${Apttus__Contract_Start_Date__c}"},{"field": "Apttus__Contract_End_Date__c","fieldType": "mergedField","fieldId": "1040","operator": "NLExpression","value": "more than 2 years from ${Apttus__Contract_Start_Date__c}","guidance": "End date is more than 2 years from start date"},{"field": "Apttus__Total_Contract_Value__c","fieldType": "extractedField","fieldId": 681,"operator": ">","value": "1000"},{"field": "Apttus__Remaining_Contracted_Days__c","fieldType": "metaData","operator": "=","value": "0"},{"field": "keywords","fieldType": "ContentVersion","fieldId": "0684T000003u3eeQAA","title": "intellimport","format": "pdf","operator": "NLExpression","value": "Force Majeure and Term"},{"field": "Force Majeure","fieldType": "extractedClause","fieldId": "267","operator": "not contains","value": "Pandemic, earthquake"},{"field": "Limitation of Liability","fieldType": "extractedField","operator": ">","value": "2000000","desc": "High liability"}]}}},"options": {"objectOverride": true,"defaultFieldType": "mergedField","fetchResults": true,"sessionTreatment": "clear","singleDocPerRow": false},"objectData": {"a0C4T000000ifZUUAY": {"Account.Name": "Acme Inc","Limitation of Liability": "1000000"}},"metaData": {"name": "Core risk criteria","score": "0.1"}}'