OpenMetadata Test Cases API

Test case is a test definition to capture data quality tests against tables, columns, and other data assets.

Business capability
Data Quality Management BC-610.30

Operations 26

GET /v1/dataQuality/testCases/{id}/failedRowsSample Get failed rows sample data #
PUT /v1/dataQuality/testCases/{id}/failedRowsSample Add failed rows sample data #
DELETE /v1/dataQuality/testCases/{id}/failedRowsSample Delete failed rows sample data #
PUT /v1/dataQuality/testCases/{id}/inspectionQuery Add inspection query data #
PUT /v1/dataQuality/testCases/logicalTestCases/bulk Add test cases to a logical test suite #
PUT /v1/dataQuality/testCases/logicalTestCases Add test cases to a logical test suite #
GET /v1/dataQuality/testCases List test cases #
PUT /v1/dataQuality/testCases Update test case #
POST /v1/dataQuality/testCases Create a test case #
POST /v1/dataQuality/testCases/createMany Create multiple test cases at once #
GET /v1/dataQuality/testCases/name/{fqn} Get a test case by fully qualified name #
DELETE /v1/dataQuality/testCases/name/{fqn} Delete a test case by fully qualified name #
GET /v1/dataQuality/testCases/{id} Get a test case by Id #
DELETE /v1/dataQuality/testCases/{id} Delete a test case by Id #
PATCH /v1/dataQuality/testCases/{id} Update a test case #
DELETE /v1/dataQuality/testCases/async/{id} Asynchronously delete a test case by Id #
DELETE /v1/dataQuality/testCases/logicalTestCases/{testSuiteId}/{id} Delete a logical test case by Id from a test suite #
GET /v1/dataQuality/testCases/name/{name}/export Export test cases in CSV format #
GET /v1/dataQuality/testCases/name/{name}/exportAsync Export test cases in CSV format asynchronously #
GET /v1/dataQuality/testCases/{id}/versions/{version} Get a version of the test case #
PUT /v1/dataQuality/testCases/name/{name}/import Import test cases from CSV #
PUT /v1/dataQuality/testCases/name/{name}/importAsync Import test cases from CSV asynchronously #
GET /v1/dataQuality/testCases/history List all entity versions within a time range #
GET /v1/dataQuality/testCases/search/list List test cases using search service #
GET /v1/dataQuality/testCases/{id}/versions List test case versions #
PUT /v1/dataQuality/testCases/restore Restore a soft deleted test case #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/openmetadata-test-cases-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

openmetadata-test-cases-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: OpenMetadata Test Cases API
  description: Common types and API definition for OpenMetadata
  contact:
    name: OpenMetadata
    url: https://open-metadata.org
    email: openmetadata-dev@googlegroups.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0
  version: '1.13'
servers:
- url: /api
  description: Current Host
- url: http://localhost:8585/api
  description: Endpoint URL
security:
- BearerAuth: []
tags:


# --- truncated at 32 KB (58 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/openmetadata/refs/heads/main/openapi/openmetadata-test-cases-api-openapi.yml