GET /api/v1/profile/{dataModelName}/{Id}/calculated-insights/{ci-name}

Retrieves calculated insights for a specific profile record. This endpoint allows you to access computed attributes and metrics related to the profile.

  • HTTP Method: GET
  • Availability: Data Cloud v1.0, Salesforce v51.0
  • format: REST
  • URI: /api/v1/profile/{dataModelName}/{Id}/calculated-insights/{ci-name}
ParameterTypeDescription
dataModelNamestringRequired. The unique identifier of the data model object. Example: Individual__dlm
IdstringRequired. The unique identifier of the record. Example: 123
ci-namestringRequired. The unique identifier of the calculated insight. Example: TotalSales__cio
ParameterTypeDescription
fieldsstringComma-separated list of fields to include in the response. Example: TotalAmount__c,LastPurchaseDate__c

The response includes:

  • data: Array of record objects containing the requested data
  • done: boolean indicating if all results have been returned
  • You must explicitly specify fields to retrieve more than 10 fields
  • The record ID must be a valid identifier in the data model object
  • The calculated insight must be associated with the data model object
  • The response includes only the specified fields
  • If no fields are specified, up to 10 fields are returned