Trust scores
The Qlik Trust Score™ helps you answer the question “How trustable is my dataset?”. This global quality indicator aggregates several metrics into a single and easy-to-understand score, providing visibility on the health of individual datasets through an overall score and a per-axis and per-metric breakdown.
Endpoints
Returns the current Trust Score for up to 100 datasets in a single request. Each result includes the overall score, per-axis breakdown (weight, score, enabled state), and per-metric details. Datasets with no computed Trust Score are omitted from the response. Requires dataset:read and dataquality:read permissions.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
RequiredList of dataset IDs to retrieve Trust Scores for. Maximum 100 IDs per request.
- application/jsonobject
Request body for batch-filtering Trust Score results by dataset IDs.
application/json properties
- datasetIdsarray of stringsRequired
List of dataset IDs to retrieve Trust Scores for. Maximum 100 IDs per request.
-
Responses
200
Trust Score results for the requested datasets. Datasets with no computed Trust Score are omitted.
- application/jsonobject
Trust Score results for the requested datasets. Datasets with no computed Trust Score are omitted.
application/json properties
- dataarray of objectsRequired
List of Trust Score results, one entry per dataset found.
data properties
- axesarray of objectsRequired
Per-axis breakdown of the Trust Score.
axes properties
- idstringRequired
Defines the axis of the Trust Score.
Can be one of: "VALIDITY""COMPLETENESS""USAGE""DISCOVERABILITY""ACCURACY""DIVERSITY""TIMELINESS"
- scorenumber
Computed score for this axis [0, 100]. Omitted when axis is not applicable.
- weightintegerRequired
Defines the weight of the axis or metric in the Trust Score.
- enabledboolean
Whether this axis is enabled in the tenant configuration. Disabled axes have a
weightof0and do not affect the overall score. - metricsarray of objectsRequired
Per-metric breakdown contributing to this axis score.
metrics properties
- idstringRequired
Defines the metric of the axis in the Trust Score.
Can be one of: "VALIDITY_QUALITY""COMPLETENESS_QUALITY""USAGE_APPS""USAGE_APP_VIEWS""DISCOVERABILITY_DESCRIPTION""DISCOVERABILITY_TAGS""DISCOVERABILITY_ACTIVATED""DISCOVERABILITY_FIELD_DESCRIPTION""DISCOVERABILITY_FIELD_TAGS""ACCURACY_QUALITY""DIVERSITY_SOURCE""DIVERSITY_VOLUME""DIVERSITY_EVENNESS""TIMELINESS_FRESHNESS"
- scorenumber
Computed score for this metric [0, 100]. Omitted when metric is not applicable.
- weightintegerRequired
Defines the weight of the axis or metric in the Trust Score.
-
- applicableboolean
Whether this axis is applicable for the dataset. An axis may be enabled but not applicable (for example,
TIMELINESSwhen no freshness threshold is set). - previousScorenumber
Axis score from the previous computation, for change tracking.
-
- scorenumberRequired
Overall weighted Trust Score across all enabled axes [0, 100].
- datasetIdstringRequired
Unique identifier of the dataset this score belongs to.
- updatedAtstringRequired
Timestamp of the last Trust Score computation for this dataset.
- previousScorenumber
Overall Trust Score from the previous computation, for change tracking.
-
-
400
The request is in incorrect format.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestring
- titlestring
- detailstring
- statusstring
-
- traceIdstring
-
401
User does not have valid authentication credentials.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestring
- titlestring
- detailstring
- statusstring
-
- traceIdstring
-
403
User does not have access to the resource.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestring
- titlestring
- detailstring
- statusstring
-
- traceIdstring
-
500
Internal Server Error.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestring
- titlestring
- detailstring
- statusstring
-
- traceIdstring
-
503
Requested service is not available.
- application/jsonobject
application/json properties
- errorsarray of objects
errors properties
- codestring
- titlestring
- detailstring
- statusstring
-
- traceIdstring
-
// qlik-api has not implemented support for `POST /api/data-governance/trust-scores/results/data-sets/actions/filter` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/data-governance/trust-scores/results/data-sets/actions/filter', { method: 'POST', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ datasetIds: [ 'Jjk5NNHiUObQe8xTyeLgP5nQjKTpEr8R', ], }), },)# qlik-cli has not implemented support for POST /api/data-governance/trust-scores/results/data-sets/actions/filter yet.curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/trust-scores/results/data-sets/actions/filter" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"datasetIds":["Jjk5NNHiUObQe8xTyeLgP5nQjKTpEr8R"]}'Example Response
{ "data": [ { "axes": [ { "id": "TIMELINESS", "score": 42, "weight": 50, "enabled": true, "metrics": [ { "id": "TIMELINESS_FRESHNESS", "score": 42, "weight": 50 } ], "applicable": true, "previousScore": 42 } ], "score": 42, "datasetId": "Jjk5NNHiUObQe8xTyeLgP5nQjKTpEr8R", "updatedAt": "2018-03-20T09:12:28Z", "previousScore": 42 } ]}