GET /v1/dataQuality/testDefinitions/{id}
Retrieve a Test Definition
Get a test definition by ID or name
GET
GET /v1/dataQuality/testDefinitions/{id}
Documentation Index
Fetch the complete documentation index at: https://openmetadata-codex-audit-docs-codebase-alignment.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Retrieve a Test Definition
Get a single test definition by its unique ID or name.Get by ID
UUID of the test definition to retrieve.
Comma-separated list of fields to include (e.g.,
owners).Include
all, deleted, or non-deleted entities.Get by Name
UseGET /v1/dataQuality/testDefinitions/name/{name} to retrieve by name.
Name of the test definition (e.g.,
columnValueLengthsToBeBetween).Comma-separated list of fields to include:
owners.Include
all, deleted, or non-deleted entities.GET /v1/dataQuality/testDefinitions/{id}
Returns
Returns a test definition object with all requested fields populated.Response
Unique identifier for the test definition (UUID format).
Test definition name.
Fully qualified name (same as name for test definitions).
Human-readable display name.
Description of what the test validates.
Target entity type:
TABLE or COLUMN.Supported test platforms.
Data types this test can be applied to.
Parameters accepted by this test definition.
Whether the definition is
system (built-in) or user (custom).Version number for the entity.
List of owners. Only included when
fields contains owners.Error Handling
| Code | Error Type | Description |
|---|---|---|
401 | UNAUTHORIZED | Invalid or missing authentication token |
403 | FORBIDDEN | User lacks permission to view this test definition |
404 | NOT_FOUND | Test definition with given ID or name does not exist |