GET /v1/dataQuality/testCases/{id}
Retrieve a Test Case
Get a test case by ID or fully qualified name
GET
GET /v1/dataQuality/testCases/{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 Case
Get a single test case by its unique ID or fully qualified name.Get by ID
UUID of the test case to retrieve.
Comma-separated list of fields to include:
owners, testSuite, testDefinition, testCaseResult.Include
all, deleted, or non-deleted entities.Get by Fully Qualified Name
UseGET /v1/dataQuality/testCases/name/{fqn} to retrieve by fully qualified name.
Fully qualified name of the test case (e.g.,
sample_data.ecommerce_db.shopify.dim_address.shop_id.column_value_max_to_be_between).Comma-separated list of fields to include:
owners, testSuite, testDefinition, testCaseResult.Include
all, deleted, or non-deleted entities.GET /v1/dataQuality/testCases/{id}
Returns
Returns a test case object with all requested fields populated.Response
Unique identifier for the test case (UUID format).
Test case name.
Fully qualified name of the test case.
Entity link to the target table or column.
Reference to the test definition.
Reference to the test suite.
Parameter values for this test case.
Most recent test result. Only included when
fields contains testCaseResult.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 case |
404 | NOT_FOUND | Test case with given ID or FQN does not exist |