Data qualities
The Data qualities API enables you to assess the quality of your datasets through asynchronous computations. Computations run in two phases: profiling (analyzing column statistics) and assessment (evaluating quality rules) to produce aggregated quality metrics.
Endpoints
Retrieves the status of a batch computation, including per-dataset statuses.
Facts
| Rate limit | Tier 1 (1000 requests per minute) |
Path Parameters
- batchComputationId stringRequired
Batch computation ID for tracking progress of the overall data quality computations.
Responses
200
Batch computation status retrieved successfully.
- application/json object
Status of a batch computation, including per-dataset breakdown.
application/json properties
- status stringRequired
Overall status aggregated across all datasets in the batch.
Can be one of: "IN_PROGRESS""FINISHED"
- batchComputationId stringRequired
The unique identifier of the batch computation.
- computationStatuses array of objectsRequired
Status of each individual dataset computation within the batch.
computationStatuses properties
- status stringRequired
Status of a data quality computation.
Can be one of: "PROFILE_REQUESTED""PROFILE_FAILED""REQUESTED""SUBMITTED""SUCCEEDED""FAILED"
- datasetId stringRequired
The ID of the dataset
- errorCode string
Error code indicating the reason for failure.
Can be one of: "DQ-100""DQ-110""DQ-120""DQ-121""DQ-130""DQ-140""DQ-150""DQ-200""DQ-300""DQ-310""DQ-320""DQ-400""DQ-500""DQ-160""DQ-330""DQ-170""DQ-171"
- computationId stringRequired
The unique identifier of the individual computation for this dataset.
-
-
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
404
Batch computation not found.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataGovernance.dataQualities.getDataQualitiesBatchComputation( 'a3f1b2c4-5678-90ab-cdef-1234567890ab',)qlik data-governance data-quality batch-computation get 'a3f1b2c4-5678-90ab-cdef-1234567890ab'curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/batch-computations/{batchComputationId}" \-H "Authorization: Bearer <access_token>"Example Response
{ "status": "IN_PROGRESS", "batchComputationId": "string", "computationStatuses": [ { "status": "SUCCEEDED", "datasetId": "669144f5aa2d642638ef1dd0", "errorCode": "DQ-100", "computationId": "string" } ]}Triggers a full data quality computation for a dataset, running profile calculation followed by data quality
assessment. Returns a computationId that can be used to track progress via the computation status endpoint
(GET /data-governance/data-qualities/computations/{computationId}). The computation runs asynchronously.
Poll the status endpoint until status is SUCCEEDED or FAILED.
Facts
| Rate limit | Special (10 requests per minute) | |
| Replaces |
Request Body
Required- application/json object
Request payload for triggering a data quality computation. The
connectionIdis optional for file-based datasets. If none of the sampling parameters are provided, the following defaults apply:executionMode: PULLUPsampleMode: ABSOLUTEsampleSize: 1000sampleMethod: HEADwhenexecutionModeisPULLUP, orRANDOMwhenexecutionModeisPUSHDOWN
application/json properties
- datasetId stringRequired
The ID of the dataset
- connectionId string
The ID of the connection
- sampleMode string
Specifies how the dataset is sampled.
ABSOLUTErepresents a fixed number of rows, whileRELATIVErefers to a percentage of the total dataset rows.Can be one of: "ABSOLUTE""RELATIVE"
- sampleSize integer
The actual value of the selected sampling method size (either a fixed number for
ABSOLUTEmode or a percentage forRELATIVEmode). Maximum allowed value forABSOLUTEmode is100000. - sampleMethod string
Specifies how rows are selected from the dataset.
HEADreads the first rows, whileRANDOMreads a random selection of rows. If omitted, defaults toHEADwhenexecutionModeisPULLUP, orRANDOMwhenexecutionModeisPUSHDOWN. SelectingRANDOMwhileexecutionModeisPULLUPis currently only supported for QVD datasets.Can be one of: "HEAD""RANDOM"
- executionMode string
Specifies where the data quality computation takes place. In
PUSHDOWNmode, it runs within the Cloud Data Warehouse (e.g., Snowflake, Databricks), whereas inPULLUPmode, it runs in Qlik Cloud.Can be one of: "PUSHDOWN""PULLUP"
Responses
202
Computation triggered. The response body contains the computationId for tracking progress.
- application/json object
Response returned when a data quality computation is successfully triggered.
application/json properties
- computationId stringRequired
The unique identifier of the triggered computation. Use this value to poll for status.
-
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataGovernance.dataQualities.createDataQualityComputation( { connectionId: '2b855c3d-426c-4aac-90cf-0edf9fc294d3', datasetId: '669144f5aa2d642638ef1dd0', executionMode: 'PULLUP', sampleMethod: 'HEAD', sampleMode: 'ABSOLUTE', sampleSize: 10000, },)qlik data-governance data-quality computation createcurl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/computations" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"datasetId":"669144f5aa2d642638ef1dd0","sampleMode":"ABSOLUTE","sampleSize":10000,"connectionId":"2b855c3d-426c-4aac-90cf-0edf9fc294d3","sampleMethod":"HEAD","executionMode":"PULLUP"}'Example Response
{ "computationId": "string"}Retrieves the current execution status of a data quality computation. Poll this endpoint after triggering a
computation to determine when results are available. The status field returns one of REQUESTED,
SUBMITTED, PROFILE_REQUESTED, SUCCEEDED, FAILED, or PROFILE_FAILED.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Path Parameters
- computationId stringRequired
The unique identifier of the computation, as returned by
POST /data-governance/data-qualities/computations.
Responses
200
Current execution status of the computation.
- application/json object
application/json properties
- status stringRequired
Status of a data quality computation.
Can be one of: "PROFILE_REQUESTED""PROFILE_FAILED""REQUESTED""SUBMITTED""SUCCEEDED""FAILED"
-
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
404
No computation found with the specified computationId.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataGovernance.dataQualities.getDataQualityComputation( '4db06daa-3117-412e-8fb4-b29c937f9a0e',)qlik data-governance data-quality computation get '4db06daa-3117-412e-8fb4-b29c937f9a0e'curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/computations/{computationId}" \-H "Authorization: Bearer <access_token>"Example Response
{ "status": "SUCCEEDED"}Retrieves the latest computed field quality metrics for a list of datasets. The maximum number of datasets is 100. When a dataset has been analyzed through multiple connections, the response returns the result from the most recently computed connection.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
Required- application/json object
application/json properties
- datasets array of objectsRequired
List of datasets to retrieve field qualities for.
datasets properties
- datasetId stringRequired
The ID of the dataset
-
-
Responses
200
Field qualities retrieved successfully.
- application/json object
Response containing field quality results for the requested datasets.
application/json properties
- fieldQualities array of objectsRequired
List of field quality results per dataset.
fieldQualities properties
- fields array of objectsRequired
List of fields and their quality metrics.
fields properties
- name stringRequired
The name of the field.
- type objectRequired
Information about the type of the field.
type properties
- kind stringRequired
The kind of the field type.
Can be one of: "STANDARD""SEMANTIC"
- name string
The name of the standard type (if applicable).
- precision string
The precision of the type (e.g., for date/time fields).
Can be one of: "timestamp-millis""timestamp-micros""time-millis""time-micros""date"
- semanticTypeId string
The ID of the semantic type (if applicable).
-
- quality objectRequired
Quality metrics for the field.
quality properties
- type objectRequired
Quality metrics based on type validation.
type properties
- empty integerRequired
Number of empty sample cells.
- total integerRequired
Total number of cells in the sample.
- valid integerRequired
Number of valid sample cells.
- invalid integerRequired
Number of invalid sample cells.
-
- rules array of objectsRequired
Quality results per rule applied to this field.
rules properties
- ruleId string
The unique identifier of the rule.
- quality object
Detailed quality counts for a single rule.
quality properties
- total integerRequired
Total number of cells evaluated by the rule.
- valid integerRequired
Number of cells that passed the rule.
- errors array of strings
List of error identifiers encountered during rule execution.
- invalid integerRequired
Number of cells that failed the rule.
- notApplicable integerRequired
Number of cells where the rule does not apply.
- notExecutable integerRequired
Number of cells where the rule could not be executed.
-
- ruleMappingId string
The unique identifier of the rule mapping.
-
- aggregated objectRequired
Aggregated metrics for the field.
aggregated properties
- empty integerRequired
Number of empty entries.
- total integerRequired
Total number of entries.
- valid integerRequired
Number of valid entries.
- invalid integerRequired
Number of invalid entries.
-
-
-
- computed objectRequired
Metadata about the computation.
computed properties
- at stringRequired
When the computation occurred.
- by objectRequired
Details about the user who computed the quality.
by properties
- id stringRequired
Identifier of the user.
-
-
- datasetId stringRequired
The ID of the dataset
-
-
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataGovernance.dataQualities.filterDataQualitiesFieldQualities( { datasets: [ { datasetId: '669144f5aa2d642638ef1dd0' }, ], },)qlik data-governance data-quality field-quality filter \ --datasets-datasetId ''curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/field-qualities/actions/filter" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"datasets":[{"datasetId":"669144f5aa2d642638ef1dd0"}]}'Example Response
{ "fieldQualities": [ { "fields": [ { "name": "string", "type": { "kind": "STANDARD", "name": "customer_id", "precision": "timestamp-millis", "semanticTypeId": "9996fbb942b02a6987534999" }, "quality": { "type": { "empty": 42, "total": 42, "valid": 42, "invalid": 42 }, "rules": [ { "ruleId": "string", "quality": { "total": 42, "valid": 42, "errors": [ "DISABLED_SEMANTIC_TYPE" ], "invalid": 42, "notApplicable": 42, "notExecutable": 42 }, "ruleMappingId": "string" } ], "aggregated": { "empty": 42, "total": 42, "valid": 42, "invalid": 42 } } } ], "computed": { "at": "2023-10-01T12:00:00Z", "by": { "id": "string" } }, "datasetId": "669144f5aa2d642638ef1dd0" } ]}Assigns a standard or semantic type to one or more fields in a dataset. This is a partial update: only the fields included in the request are modified; any field not included in the request keeps its current assigned structure unchanged.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
RequiredThe datasetId of the target dataset and the list of fields to update, each with the standard or
semantic type to assign. Only the fields present in this list are affected.
- application/json object
application/json properties
- fields array of objectsRequired
List of fields to update with their assigned types.
fields properties
- name stringRequired
The name of the field.
- type objectRequired
Information about the type of the field.
type properties
- kind stringRequired
The kind of the field type.
Can be one of: "STANDARD""SEMANTIC"
- name string
The name of the standard type (if applicable).
- precision string
The precision of the type (e.g., for date/time fields).
Can be one of: "timestamp-millis""timestamp-micros""time-millis""time-micros""date"
- semanticTypeId string
The ID of the semantic type (if applicable).
-
-
- datasetId stringRequired
The ID of the dataset
-
Responses
204
The requested field types were assigned successfully. The response body is empty.
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
404
The dataset's field structure, or a referenced semantic type, was not found.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
// qlik-api has not implemented support for `PUT /api/data-governance/data-qualities/fields-structures` yet.// In the meantime, you can use fetch like this:
const response = await fetch( '/api/data-governance/data-qualities/fields-structures', { method: 'PUT', headers: { 'Content-Type': 'application/json', }, body: JSON.stringify({ fields: [ { name: 'customer_id', type: { kind: 'STANDARD', name: 'customer_id', precision: 'timestamp-millis', semanticTypeId: '9996fbb942b02a6987534999', }, }, ], datasetId: '669144f5aa2d642638ef1dd0', }), },)qlik data-governance data-quality fields-structure update \ --datasetId '669144f5aa2d642638ef1dd0' \ --fields-name '' \ --fields-type-kind '' \ --fields-type-name '' \ --fields-type-precision '' \ --fields-type-semanticTypeId ''curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/fields-structures" \-X PUT \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"fields":[{"name":"customer_id","type":{"kind":"STANDARD","name":"customer_id","precision":"timestamp-millis","semanticTypeId":"9996fbb942b02a6987534999"}}],"datasetId":"669144f5aa2d642638ef1dd0"}'Retrieves the global quality results for a dataset, showing counts of valid, invalid, empty, and total sample cells.
Facts
| Rate limit | Tier 1 (1000 requests per minute) | |
| Replaces |
Query Parameters
- datasetId stringRequired
The unique identifier of the dataset.
- connectionId string
The unique identifier of the connection.
Responses
200
Global quality results for the dataset, including counts of valid, invalid, empty, and total sample cells per connection.
- application/json object
application/json properties
- datasetId stringRequired
The unique identifier of the dataset.
- qualities array of objectsRequired
qualities properties
- quality object
quality properties
- empty integerRequired
Number of empty sample cells.
- total integerRequired
Total number of cells in the sample.
- valid integerRequired
Number of valid sample cells.
- invalid integerRequired
Number of invalid sample cells.
- updatedAt stringRequired
Timestamp of the most recent data quality computation for this dataset and connection.
-
- connectionId stringRequired
The unique identifier of the connection.
-
-
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
404
No quality results found for the specified dataset.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataGovernance.dataQualities.getDataQualityGlobalResults( { datasetId: '669144f5aa2d642638ef1dd0' },)qlik data-governance data-quality global-result ls \ --datasetId '669144f5aa2d642638ef1dd0'curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/global-results" \-H "Authorization: Bearer <access_token>"Example Response
{ "datasetId": "string", "qualities": [ { "quality": { "empty": 42, "total": 42, "valid": 42, "invalid": 42, "updatedAt": "2023-10-01T12:00:00Z" }, "connectionId": "string" } ]}Retrieves the latest computed global quality metrics for a list of datasets. The maximum number of datasets is 100. When a dataset has been analyzed through multiple connections, the response returns the result from the most recently computed connection.
Facts
| Rate limit | Tier 2 (100 requests per minute) |
Request Body
Required- application/json object
Request containing a list of dataset IDs to filter on.
application/json properties
- datasetIds array of stringsRequired
List of dataset IDs to retrieve results for.
-
Responses
200
Data quality global results for the requested datasets.
- application/json object
Response containing data quality global results grouped by dataset.
application/json properties
- dataQualities array of objectsRequired
List of data quality results, one per dataset and connection pair.
dataQualities properties
- error object
Details of an execution failure.
error properties
- reason string
A human-readable explanation of the failure.
- errorCode stringRequired
The error code identifying the failure reason.
- executedAt string
Timestamp when the execution failed.
-
- status stringRequired
Status of a data quality computation.
Can be one of: "PROFILE_REQUESTED""PROFILE_FAILED""REQUESTED""SUBMITTED""SUCCEEDED""FAILED"
- quality object
quality properties
- empty integerRequired
Number of empty sample cells.
- total integerRequired
Total number of cells in the sample.
- valid integerRequired
Number of valid sample cells.
- invalid integerRequired
Number of invalid sample cells.
- updatedAt stringRequired
Timestamp of the most recent data quality computation for this dataset and connection.
-
- datasetId stringRequired
The ID of the dataset
- connectionId stringRequired
The ID of the connection
-
-
400
The request is in incorrect format.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
401
User does not have valid authentication credentials.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
403
User does not have access to the resource.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
500
Internal Server Error.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
503
Requested service is not available.
- application/json object
Standard error response wrapper.
application/json properties
- errors array of objectsRequired
List of errors that occurred.
errors properties
- code stringRequired
The error code identifying the type of error.
- title stringRequired
A short summary of the error.
- detail string
A human-readable explanation of the error.
-
- traceId string
Trace identifier for debugging purposes.
-
import { createQlikApi } from '@qlik/api'
const qlik = createQlikApi({ hostConfig: { host: 'https://{tenant}.{region}.qlikcloud.com', apiKey: '<access-token>', },})
await qlik.dataGovernance.dataQualities.filterDataQualitiesGlobalResults( { datasetIds: ['669144f5aa2d642638ef1dd0'] },)qlik data-governance data-quality global-result filter \ --datasetIds '669144f5aa2d642638ef1dd0'curl "https://{tenant}.{region}.qlikcloud.com/api/data-governance/data-qualities/global-results/actions/filter" \-X POST \-H "Content-type: application/json" \-H "Authorization: Bearer <access_token>" \-d '{"datasetIds":["669144f5aa2d642638ef1dd0"]}'Example Response
{ "dataQualities": [ { "error": { "reason": "string", "errorCode": "string", "executedAt": "2023-10-01T12:00:00Z" }, "status": "SUCCEEDED", "quality": { "empty": 42, "total": 42, "valid": 42, "invalid": 42, "updatedAt": "2023-10-01T12:00:00Z" }, "datasetId": "string", "connectionId": "string" } ]}