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.

Get batch computation status

Retrieves the status of a batch computation, including per-dataset statuses.

Facts

Rate limit Tier 1 (1000 requests per minute)

Path Parameters

  • batchComputationIdstring
    Required

    Batch computation ID for tracking progress of the overall data quality computations.

Responses

200

Batch computation status retrieved successfully.

  • application/jsonobject

    Status of a batch computation, including per-dataset breakdown.

    Show application/json properties
    • statusstring
      Required

      Overall status aggregated across all datasets in the batch.

      Can be one of: "IN_PROGRESS""FINISHED"

    • batchComputationIdstring
      Required

      The unique identifier of the batch computation.

    • computationStatusesarray of objects
      Required

      Status of each individual dataset computation within the batch.

      Show computationStatuses properties
      • statusstring
        Required

        Status of a data quality computation.

        Can be one of: "PROFILE_REQUESTED""PROFILE_FAILED""REQUESTED""SUBMITTED""SUCCEEDED""FAILED"

      • datasetIdstring
        Required

        The ID of the dataset

      • errorCodestring

        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"

      • computationIdstring
        Required

        The unique identifier of the individual computation for this dataset.

400

The request is in incorrect format.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

401

User does not have valid authentication credentials.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

403

User does not have access to the resource.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

404

Batch computation not found.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

500

Internal Server Error.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

503

Requested service is not available.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

GET /api/data-governance/data-qualities/batch-computations/{batchComputationId}
// qlik-api has not implemented support for `GET /api/data-governance/data-qualities/batch-computations/{batchComputationId}` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/data-governance/data-qualities/batch-computations/{batchComputationId}',
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
},
)
# qlik-cli has not implemented support for GET /api/data-governance/data-qualities/batch-computations/{batchComputationId} yet.
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"
}
]
}

Trigger data quality computation

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/jsonobject

    Request payload for triggering a data quality computation. The connectionId is optional for file-based datasets. If none of the sampling parameters are provided, the following defaults apply:

    • executionMode: PULLUP
    • sampleMode: ABSOLUTE
    • sampleSize: 1000
    Show application/json properties
    • datasetIdstring
      Required

      The ID of the dataset

    • connectionIdstring

      The ID of the connection

    • sampleModestring

      Specifies how the dataset is sampled. ABSOLUTE represents a fixed number of rows, while RELATIVE refers to a percentage of the total dataset rows.

      Can be one of: "ABSOLUTE""RELATIVE"

    • sampleSizeinteger

      The actual value of the selected sampling method size (either a fixed number for ABSOLUTE mode or a percentage for RELATIVE mode). Maximum allowed value for ABSOLUTE mode is 100000.

    • executionModestring

      Specifies where the data quality computation takes place. In PUSHDOWN mode, it runs within the Cloud Data Warehouse (e.g., Snowflake, Databricks), whereas in PULLUP mode, 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/jsonobject

    Response returned when a data quality computation is successfully triggered.

    Show application/json properties
    • computationIdstring
      Required

      The unique identifier of the triggered computation. Use this value to poll for status.

400

The request is in incorrect format.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

401

User does not have valid authentication credentials.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

403

User does not have access to the resource.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

500

Internal Server Error.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

503

Requested service is not available.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

POST /api/data-governance/data-qualities/computations
// qlik-api has not implemented support for `POST /api/data-governance/data-qualities/computations` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/data-governance/data-qualities/computations',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
datasetId: '669144f5aa2d642638ef1dd0',
sampleMode: 'ABSOLUTE',
sampleSize: 10000,
connectionId:
'2b855c3d-426c-4aac-90cf-0edf9fc294d3',
executionMode: 'PULLUP',
}),
},
)
qlik data-governance data-quality computation create
curl "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","executionMode":"PULLUP"}'

Example Response

{
"computationId": "string"
}

Get data quality computation status

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

  • computationIdstring
    Required

    The unique identifier of the computation, as returned by POST /data-governance/data-qualities/computations.

Responses

200

Current execution status of the computation.

  • application/jsonobject
    Show application/json properties
    • statusstring
      Required

      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/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

401

User does not have valid authentication credentials.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

403

User does not have access to the resource.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

404

No computation found with the specified computationId.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

500

Internal Server Error.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

503

Requested service is not available.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

GET /api/data-governance/data-qualities/computations/{computationId}
// qlik-api has not implemented support for `GET /api/data-governance/data-qualities/computations/{computationId}` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/data-governance/data-qualities/computations/{computationId}',
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
},
)
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"
}

Retrieve field qualities for multiple datasets

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/jsonobject
    Show application/json properties
    • datasetsarray of objects
      Required

      List of datasets to retrieve field qualities for.

      Show datasets properties
      • datasetIdstring
        Required

        The ID of the dataset

Responses

200

Field qualities retrieved successfully.

  • application/jsonobject

    Response containing field quality results for the requested datasets.

    Show application/json properties
    • fieldQualitiesarray of objects
      Required

      List of field quality results per dataset.

      Show fieldQualities properties
      • fieldsarray of objects
        Required

        List of fields and their quality metrics.

        Show fields properties
        • namestring
          Required

          The name of the field.

        • typeobject
          Required

          Information about the type of the field.

          Show type properties
          • kindstring
            Required

            The kind of the field type.

            Can be one of: "STANDARD""SEMANTIC"

          • namestring

            The name of the standard type (if applicable).

          • precisionstring

            The precision of the type (e.g., for date/time fields).

            Can be one of: "timestamp-millis""timestamp-micros""time-millis""time-micros""date"

          • semanticTypeIdstring

            The ID of the semantic type (if applicable).

        • qualityobject
          Required

          Quality metrics for the field.

          Show quality properties
          • typeobject
            Required

            Quality metrics based on type validation.

            Show type properties
            • emptyinteger
              Required

              Number of empty sample cells.

            • totalinteger
              Required

              Total number of cells in the sample.

            • validinteger
              Required

              Number of valid sample cells.

            • invalidinteger
              Required

              Number of invalid sample cells.

          • rulesarray of objects
            Required

            Quality results per rule applied to this field.

            Show rules properties
            • ruleIdstring

              The unique identifier of the rule.

            • qualityobject

              Detailed quality counts for a single rule.

              Show quality properties
              • totalinteger
                Required

                Total number of cells evaluated by the rule.

              • validinteger
                Required

                Number of cells that passed the rule.

              • errorsarray of strings

                List of error identifiers encountered during rule execution.

              • invalidinteger
                Required

                Number of cells that failed the rule.

              • notApplicableinteger
                Required

                Number of cells where the rule does not apply.

              • notExecutableinteger
                Required

                Number of cells where the rule could not be executed.

            • ruleMappingIdstring

              The unique identifier of the rule mapping.

          • aggregatedobject
            Required

            Aggregated metrics for the field.

            Show aggregated properties
            • emptyinteger
              Required

              Number of empty entries.

            • totalinteger
              Required

              Total number of entries.

            • validinteger
              Required

              Number of valid entries.

            • invalidinteger
              Required

              Number of invalid entries.

      • computedobject
        Required

        Metadata about the computation.

        Show computed properties
        • atstring
          Required

          When the computation occurred.

        • byobject
          Required

          Details about the user who computed the quality.

          Show by properties
          • idstring
            Required

            Identifier of the user.

      • datasetIdstring
        Required

        The ID of the dataset

400

The request is in incorrect format.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

401

User does not have valid authentication credentials.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

403

User does not have access to the resource.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

500

Internal Server Error.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

503

Requested service is not available.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

POST /api/data-governance/data-qualities/field-qualities/actions/filter
// qlik-api has not implemented support for `POST /api/data-governance/data-qualities/field-qualities/actions/filter` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/data-governance/data-qualities/field-qualities/actions/filter',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
datasets: [
{ datasetId: '669144f5aa2d642638ef1dd0' },
],
}),
},
)
# qlik-cli has not implemented support for POST /api/data-governance/data-qualities/field-qualities/actions/filter yet.
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"
}
]
}

Get global data quality

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

  • datasetIdstring
    Required

    The unique identifier of the dataset.

  • connectionIdstring

    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/jsonobject
    Show application/json properties
    • datasetIdstring
      Required

      The unique identifier of the dataset.

    • qualitiesarray of objects
      Required
      Show qualities properties
      • qualityobject
        Required
        Show quality properties
        • emptyinteger
          Required

          Number of empty sample cells.

        • totalinteger
          Required

          Total number of cells in the sample.

        • validinteger
          Required

          Number of valid sample cells.

        • invalidinteger
          Required

          Number of invalid sample cells.

        • updatedAtstring
          Required

          Timestamp of the most recent data quality computation for this dataset and connection.

      • connectionIdstring
        Required

        The unique identifier of the connection.

400

The request is in incorrect format.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

401

User does not have valid authentication credentials.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

403

User does not have access to the resource.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

404

No quality results found for the specified dataset.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

500

Internal Server Error.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

503

Requested service is not available.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

GET /api/data-governance/data-qualities/global-results
// qlik-api has not implemented support for `GET /api/data-governance/data-qualities/global-results` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/data-governance/data-qualities/global-results',
{
method: 'GET',
headers: {
'Content-Type': 'application/json',
},
},
)
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"
}
]
}

Get datasets data quality global results

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/jsonobject

    Request containing a list of dataset IDs to filter on.

    Show application/json properties
    • datasetIdsarray of strings
      Required

      List of dataset IDs to retrieve results for.

Responses

200

Data quality global results for the requested datasets.

  • application/jsonobject

    Response containing data quality global results grouped by dataset.

    Show application/json properties
    • dataQualitiesarray of objects
      Required

      List of data quality results, one per dataset and connection pair.

      Show dataQualities properties
      • errorobject

        Details of an execution failure.

        Show error properties
        • reasonstring

          A human-readable explanation of the failure.

        • errorCodestring
          Required

          The error code identifying the failure reason.

        • executedAtstring

          Timestamp when the execution failed.

      • statusstring
        Required

        Status of a data quality computation.

        Can be one of: "PROFILE_REQUESTED""PROFILE_FAILED""REQUESTED""SUBMITTED""SUCCEEDED""FAILED"

      • qualityobject
        Show quality properties
        • emptyinteger
          Required

          Number of empty sample cells.

        • totalinteger
          Required

          Total number of cells in the sample.

        • validinteger
          Required

          Number of valid sample cells.

        • invalidinteger
          Required

          Number of invalid sample cells.

        • updatedAtstring
          Required

          Timestamp of the most recent data quality computation for this dataset and connection.

      • datasetIdstring
        Required

        The ID of the dataset

      • connectionIdstring
        Required

        The ID of the connection

400

The request is in incorrect format.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

401

User does not have valid authentication credentials.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

403

User does not have access to the resource.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

500

Internal Server Error.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

503

Requested service is not available.

  • application/jsonobject

    Standard error response wrapper.

    Show application/json properties
    • errorsarray of objects
      Required

      List of errors that occurred.

      Show errors properties
      • codestring
        Required

        The error code identifying the type of error.

      • titlestring
        Required

        A short summary of the error.

      • detailstring

        A human-readable explanation of the error.

    • traceIdstring

      Trace identifier for debugging purposes.

POST /api/data-governance/data-qualities/global-results/actions/filter
// qlik-api has not implemented support for `POST /api/data-governance/data-qualities/global-results/actions/filter` yet.
// In the meantime, you can use fetch like this:
const response = await fetch(
'/api/data-governance/data-qualities/global-results/actions/filter',
{
method: 'POST',
headers: {
'Content-Type': 'application/json',
},
body: JSON.stringify({
datasetIds: ['669144f5aa2d642638ef1dd0'],
}),
},
)
# qlik-cli has not implemented support for POST /api/data-governance/data-qualities/global-results/actions/filter yet.
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"
}
]
}