> ## Documentation Index
> Fetch the complete documentation index at: https://docs.open-metadata.org/llms.txt
> Use this file to discover all available pages before exploring further.

# Data Quality

> APIs for managing data quality test definitions, test suites, and test cases

# Data Quality

The Data Quality APIs allow you to define, organize, and execute data quality checks across your data assets. The API is organized around three core entities.

## Core Entities

<CardGroup cols={3}>
  <Card title="Test Definitions" icon="flask" href="/v1.12.x/api-reference/data-quality/test-definitions">
    Define the logic of a data quality check -- what to validate and what parameters it accepts.
  </Card>

  <Card title="Test Suites" icon="layer-group" href="/v1.12.x/api-reference/data-quality/test-suites">
    Group test cases into executable or logical collections for organized testing.
  </Card>

  <Card title="Test Cases" icon="vial" href="/v1.12.x/api-reference/data-quality/test-cases">
    Instances of test definitions applied to specific tables and columns with concrete parameter values.
  </Card>
</CardGroup>

***

## How They Relate

```
TestDefinition (the "what to check")
    └── TestCase (an instance applied to a specific entity)
            └── TestSuite (a grouping of test cases)
```

* A **Test Definition** describes a reusable validation rule (e.g., "column values must be between X and Y"). OpenMetadata ships with 25+ built-in definitions, and you can create custom ones.
* A **Test Case** applies a test definition to a specific table or column, providing concrete parameter values (e.g., minValue=0, maxValue=100).
* A **Test Suite** groups test cases together. **Executable** test suites are tied to a single table and run automatically. **Logical** test suites are user-defined groupings across tables.

***

## Base URL

All Data Quality endpoints are under:

```
/v1/dataQuality/
```
