DataTrue Reporting API (1.0.0)

Download OpenAPI specification:Download

Introduction

The Reporting API provides the ability to report on the results of tests run within your DataTrue account.

This can be used to:

  • Report on historical test result summary data to understand compliance over time
  • Breakdown results by tags to understand which are failing within particular tests, pages or steps within a user journey
  • Combine DataTrue test result data with other sources such as analytics reporting data to enhance your data governance reporting

Authentication

The Reporting API requires an API key to be provided in the Authorization header. The API key used to access the Reporting API can be found within your User Profile.

Test Results

Retrieve test result summary data

Retrieve a report on the status of tests executed

Authorizations:
API Key
Request Body schema: application/json

The query for the test result summary data

account_id
required
number

DataTrue Account ID

Array of objects

Dimensions that the metrics are calculated for

Array of objects

Metrics to report on

Array of objects

Dimensions to filter the data by (clauses in this array are AND-ed together)

Array of objects

Metrics to filter the data by (clauses in this array are AND-ed together)

object

Report settings

Responses

Request samples

Content type
application/json
{
  • "account_id": 1,
  • "dimensions": [
    ],
  • "metrics": [
    ],
  • "dimension_filter_clauses": [
    ],
  • "settings": {
    }
}

Response samples

Content type
application/json
{
  • "rows": [
    ],
  • "meta": {
    }
}

Tag Validations

Retrieve tag validation result data

Retrieve a report on the status of Tag Validations

Authorizations:
API Key
Request Body schema: application/json

The query for the tag validation data

account_id
required
number

DataTrue Account ID

Array of objects

Dimensions that the metrics are calculated for

Array of objects

Metrics to report on

Array of objects

Dimensions to filter the data by (clauses in this array are AND-ed together)

Array of objects

Metrics to filter the data by (clauses in this array are AND-ed together)

object

Report settings

Responses

Request samples

Content type
application/json
{
  • "account_id": 1,
  • "dimensions": [
    ],
  • "metrics": [
    ],
  • "dimension_filter_clauses": [
    ],
  • "settings": {
    }
}

Response samples

Content type
application/json
{
  • "rows": [
    ],
  • "meta": {
    }
}