Insights

The Insights module performs synchronous analysis of the received data, returning score, status, and insights within a few seconds.

How the Insights Module Works

The Insights module operates synchronously, analyzing the data immediately after receiving a request. This process involves cross-referencing multiple relevant pieces of information to calculate the score, determine the status, and provide the insights of the analysis.

The analysis response is returned within seconds, enabling quick insightss that are integrated into the application's flow, without the need for asynchronous processing or prolonged waiting.


Response POST

Represents the execution response of the integration. If you have contracted more than one module, you may receive all at once. Any module not contracted will not be returned.


Result

FieldsDescriptionTypeRequired
executionIdExecution IDGuidYes
analysisIdAnalysis IDGuidYes
transactionIdTransaction IDStringYes
insightsInsights resultsInsights ResultNo

Insights Result

Represents the insights generated by the analysis.

FieldsDescriptionTypeRequired
statusInsights statusStringYes
resultList of generated insightsInsight ArrayNo

Insight

Represents an insight generated by the analysis.

FieldsDescriptionTypeRequired
codeInsight codeStringYes
descriptionInsight descriptionStringYes
typeInsight typeStringYes
categoryInsight categoryStringYes
relevanceInsight relevanceStringYes
relatedToEntity or element related to the insightString ArrayYes

JSON

{
  "executionId": "string",
  "analysisId": "string",
  "transactionId": "string",
  "insights": {
    "status": "string",
    "result": [
      {
        "code": "string",
        "description": "string",
        "type": "string",
        "category": "string",
        "relevance": "string",
        "relatedTo": [
          "string"
        ]
      }
    ]
  }
}

Response GET

Represents the execution response of the analysis query.


Result

FieldsDescriptionTypeRequired
analysisIdAnalysis IDGuidYes
transactionIdTransaction IDStringYes
insightsInsights resultsInsights ResultNo

Insights Result

Represents the insights generated by the analysis.

FieldsDescriptionTypeRequired
statusInsights statusStringYes
resultList of generated insightsInsight ArrayNo

Insight

Represents an insight generated by the analysis.

FieldsDescriptionTypeRequired
codeInsight codeStringYes
descriptionInsight descriptionStringYes
typeInsight typeStringYes
categoryInsight categoryStringYes
relevanceInsight relevanceStringYes
relatedToEntity or element related to the insightString ArrayYes

JSON

{
  "analysisId": "string",
  "transactionId": "string",
  "insights": {
    "status": "string",
    "result": [
      {
        "code": "string",
        "description": "string",
        "type": "string",
        "category": "string",
        "relevance": "string",
        "relatedTo": [
          "string"
        ]
      }
    ]
  }
}

Response Error

Represents the details of a problem returned by the API in case of an error.

FieldsDescriptionTypeRequired
typeURI that identifies the specific problem type. Can be used to categorize the error.StringNo
titleDescriptive title of the problemStringYes
statusHTTP status code associated with the problemIntegerYes
errorsValidation errorsObjectYes
instanceURI that identifies the specific instance of the problemStringNo

JSON

{
  "errors": {
    "string": [
      "string"
    ]
  },
  "type": "string",
  "title": "string",
  "status": 0,
  "traceId": "string"
}