Query Calculated Insights
The Calculated Insights API calls only support data collection from the Data Cloud Calculated Insights object. You can use this API to query Calculated Insights with selected SQL dimensions and measures with optional filters.
For details on how to use Calculated Insights calls from within Data Cloud, see the Calculated Insights online Help topics.
This API library follows the standard REST specification.
- The call return limit defaults to the max limit of 4,999 rows returned.
- Pagination support via limit, offset, and order by parameters.
GET /api/v1/insight/metadata/(ci-name)
GET /api/v1/insight/calculated-insights/(ci-name)
-
The metadata includes the dimension and measure that are part of the calculated insight.
-
GET /api/v1/insight/metadata/{ci-name}
The metadata includes the dimension and measure that are part of the calculated insight.
-
GET /api/v1/insight/calculated-insights/{ci-name}
Use this API to query your Calculated Insights. Users can filter by selecting different dimensions, measures, and filters.
See Also
- Salesforce Help: API Limits for Profile, Query, and Calculated Insights