Publishing results from external data quality tools to OpenMetadata

Register custom test definitions and push results from tools such as dbt, Great Expectations or in-house scripts into OpenMetadata, so every quality signal appears on the same asset page.

On this page

Publishing external data quality results to OpenMetadata on one asset page

OpenMetadata can register custom test definitions and accept results for them through its API, so signals from external tools sit beside native tests on the same asset. Teams that run checks in dbt, Great Expectations, custom scripts or a vendor tool often see only their own part of the picture, and the owner of a table may not know that a failing check exists anywhere. The documented route is to register a custom test definition with POST /api/v1/dataQuality/testDefinitions, then publish each run's outcome against it. The second documented route is to implement a validator that OpenMetadata itself runs, so the logic lives inside the catalog's execution path rather than in the external tool.

This fits best when you already have checks worth keeping, especially where the tool has no native OpenMetadata connector or where the rules are owned by another team and will stay there. Keeping the existing check and publishing its result avoids rewriting logic that already works. A native test from the Test Library or a validator is the better choice when the rule is simple enough to express in OpenMetadata, when you want OpenMetadata to schedule and own the run, or when you do not want to maintain a second scheduler. Before committing, confirm with your own environment which API version and payload fields your deployment expects, because the custom tests guide for the v2.0.x documentation is the reference for those details, and field names should be checked against your installed release.

The main decision is who owns the publishing step. Someone must decide which pipeline sends results, what happens when the external job fails before it reports, and how a missing result differs from a passing one, since a silent gap can look like success on the asset page. Agree on a test definition naming convention, a single owner for each definition, and a rule for which test cases the results attach to. Plan a test run in a non-production catalog first and check that the result appears on the intended table and column, that its timestamp is correct, and that failures reach the incident workflow your team already uses.

Choosing between API-published results and a runnable validator

This table compares pushing results from an external tool through the API with implementing a validator that OpenMetadata executes itself. Read each row as a decision point: where the logic runs, who maintains it, and how a failure reaches the incident and alert workflow. The main takeaway is that the choice depends on where your test logic already lives and who will own it after launch.

Decision pointAPI-published resultsRunnable validator
Where the logic runsIn your external tool, such as an ETL job, a dbt run or a scheduled script, which then posts the outcome to OpenMetadataInside OpenMetadata's test execution, using a validator you implement and register as the test definition
Registration stepRegister a test definition with POST /api/v1/dataQuality/testDefinitions, then publish each result through the APIImplement the validator and register it so OpenMetadata can run it against the target asset
Who maintains the logicThe team that owns the external tool keeps the check code current and fixes it when schemas changeThe team that owns the OpenMetadata deployment must maintain the validator alongside the platform
Failure visibilityResults appear on the asset page once posted, so the posting job must handle its own retries and missed runsFailures are produced by OpenMetadata's own runs, which the incident and alert workflow can track directly
Dependence on the external runA result is only as current as the last successful push, so confirm how stale results are detectedFreshness follows OpenMetadata's test schedule, so confirm the schedule matches the data's refresh cycle
Best fitQuality checks already written in another tool, or checks that depend on systems outside OpenMetadataNew checks that need to run on the catalog's own schedule with the same ownership model as built-in tests
What to confirm firstAuthentication for the API token, the exact fields your posting job must send, and how a rerun replaces an earlier resultThe validator language and packaging your environment supports, and how the validator is deployed with your OpenMetadata version

Setting up a test definition and publishing its first result

This sequence takes a team from an authenticated API connection to a single external quality result visible on the target asset page. Each step ends with a check, so failures surface before the publishing job runs on a schedule.

  1. Confirm the version and API authentication

    The platform engineer confirms which OpenMetadata version is running in your environment and which authentication method the publishing job will use. Check the release notes for the version you run, since API behavior and breaking changes differ between releases. Create a service identity or token with the smallest permissions that let it manage test definitions and test cases, then make a read-only call to the API from the machine that will run the job. Done when the call returns the expected response and the credential is stored in your secrets manager, not in the job's source code.

  2. Define the test definition and its parameters

    A data quality engineer registers the custom test definition by calling POST /api/v1/dataQuality/testDefinitions. Name the definition for the business rule it checks, describe the expected result, and declare each parameter the external tool needs, such as a threshold or a column list. Decide whether results will be pushed from outside or whether OpenMetadata will run a validator, because the custom tests guidance covers both paths. Done when the definition appears in the test library with the parameters you declared and a second registration attempt with the same name returns a clear conflict rather than creating a duplicate.

  3. Create the test case on the target asset

    The data owner or engineer creates a test case that references the new definition on the target table or column, and supplies values for each parameter. Confirm the case is attached to the correct entity by opening the table or column in the UI, since a test on the wrong column will report results against the wrong data. Record the test case identifier, because the publishing job needs it for every result it sends. Done when the test case is listed on the asset's quality tab with the parameter values you entered.

  4. Send the first result from the external tool

    The publishing job, run by the team that owns the external tool, evaluates one rule against the table and posts the outcome to the test case through the API. Include the status, the timestamp of the run, and any result values your rule produces. Send a deliberately malformed request, such as an unknown test case identifier, to confirm the job receives a rejection and logs it with the response body instead of reporting success. Done when the valid request returns a success response and the rejected request is captured by the job's error handling.

  5. Verify the result on the asset page

    The owning data team opens the target table or column in OpenMetadata and confirms the new result appears on the asset page with the same status, timestamp and parameter values the job sent. Then open the data quality view and check that the test case shows the result in the list of tests for that asset. Compare the status shown in both places with the value in the job log. Done when the result is visible in both views and matches the log exactly.

  6. Confirm ownership and failure routing before scaling

    Before adding more tests, confirm that the owners of the asset can see the failed status and that the team responsible for the external tool knows who receives it. Check which owner is assigned to the table and whether a failed result creates an incident or alert in your configuration. Ask the platform team to confirm that incident and notification behavior for externally published results matches your setup, since this depends on your version and configuration. Done when a deliberately failing test produces the expected visible state for the owner and the routing decision is written down.

Securing the API token and governing who can publish results

A publishing job that writes test definitions and results is a write path into your catalog, so its identity, secrets and approval rules need the same care as any production integration. The cards below cover the bot identity, token handling, who may register definitions, how unreviewed results affect trust, and how changes are traced.

Give the publishing job its own bot identity

Create a dedicated OpenMetadata user for the publishing job instead of reusing a personal account or an administrator token. Grant it only the roles needed to write test results to the assets it covers, and confirm in your environment which permissions the API calls require. Review the role whenever the job's scope changes, since a shared account makes it impossible to tell automated writes from human ones.

Security docs

Store the API token outside source code

Keep the token in your secrets manager or the CI platform's encrypted variables, and inject it into the job at runtime. Never commit it to a repository, a DAG file or a notebook, and never print it to job logs. Confirm the token lifetime and how rotation is done in your OpenMetadata version, then schedule rotation and test that the job recovers cleanly after the old token is revoked.

Decide who may register test definitions

Registering a custom test definition changes what every later result means, so limit that step to a small group of data owners or platform engineers. Ask which OpenMetadata roles can create test definitions in your version and whether the publishing identity can do so at all. Route new definitions through the same review you use for code, so a definition reaches production only after someone other than its author has approved it.

Stop unreviewed results from distorting scores

A results feed that nobody checks can make a quality score look healthy or broken for reasons unrelated to the data. Before publishing to production assets, validate that the job runs against the expected table and partition, that failed runs do not write empty passes, and that a pipeline outage does not look like a clean day. Ask the team that owns each asset to confirm the first few runs before the feed is treated as authoritative.

Trace who changed definitions and results

Audit requirements depend on being able to answer who created or edited a test definition and which identity wrote a given result. Check whether your OpenMetadata version records change history for test definitions and results, and where those records are kept. If the audit trail is incomplete, supplement it with logs from the job runner and the source control history of the definition files, and confirm with your compliance team which evidence they need.

Keeping pushed results reliable after the first run

The first successful push proves little on its own. Reliability depends on how the publishing job runs over time, so decide early where each publisher is scheduled. Run it next to the pipeline it checks, triggered after that pipeline finishes, so that results describe the data that actually landed. A publisher on a separate clock can report a pass against yesterday's table, and a missing run can look identical to a healthy one unless you design for it. Confirm with your scheduler how it reports a failed or skipped run, and decide whether a missing result should be treated as a failure, a stale signal or an unknown, because freshness and failure views in OpenMetadata will only be as accurate as the timing behind them.

Late and missing results need an explicit rule. Each pushed result carries a timestamp tied to the data it describes, so review how your publisher handles retries, backfills and reruns so that an old result does not overwrite a newer one. Agree on a maximum expected interval for each check and alert when no result arrives within it, since silence is the failure mode most likely to go unnoticed. Test this with a deliberately skipped run in a non-production environment before relying on it. Watch for test definitions that exist in OpenMetadata but are never fed, because they will display a status that no longer reflects any work.

Test definitions also change. Keep the definition for each custom test in version control, with the same name and parameters promoted through development, test and production, and check that a change in one environment does not silently create a second definition with a near-identical name. The definition is registered through the POST /api/v1/dataQuality/testDefinitions endpoint, so the publisher should fail loudly when registration or a result push is rejected, not swallow the error. Decide, check by check, which tool is the source of truth: the external tool owns the logic and thresholds, and OpenMetadata only displays results, or the reverse. Writing the decision down prevents two systems from disagreeing about the same asset without anyone noticing. Finally, monitor the publishing job itself, with its own alert on failed runs, duration and last successful push, because a broken publisher produces the same quiet gap as a healthy one with no results.

Limits to confirm in your OpenMetadata version

The API route for external results is simple to call, but the details that matter (request fields, how results drive incidents, and how upgrades treat custom definitions) depend on the exact OpenMetadata release you run. Confirm each point below in your own environment before you design the pipeline around it.

Exact request schemas for your release

Test definition and test result payloads are the first thing to verify. Use the 2.0.x custom tests guide as the starting point, then send a sample POST to a non-production instance running your target version and check which fields it accepts, which are required and how validation errors are reported. Do not copy payloads from older blog posts or community examples, because field names and required properties can change between releases.

Custom tests guide

Result fields that drive incidents

Not every field in a published result has the same effect. Find out which result status values open incidents, which ones only record history, and whether severity or assignee can be set from the payload. Then test a failing and a passing result against the same asset and confirm what the Incident Manager and alert rules do with each one. Your on-call routine depends on this answer.

External results compared with native results

Confirm that results pushed from another tool appear with the same status, timestamp, history and filters as results from native tests. Check the asset page, the data quality dashboard and any reporting that groups by test suite or domain. If external results are stored or displayed differently, decide whether that gap is acceptable before other teams start relying on the feed.

Test definition behavior across upgrades

Ask whether definitions registered through the API survive an upgrade, whether parameter schemas change between minor releases, and whether published results keep their links to the right test cases. Read the 2.0 breaking-change notes and the upgrade procedure before you upgrade a cluster that already holds external definitions, and keep the definition files in version control so you can re-register them.

2.0 release notes

Throughput for large result volumes

If an external tool publishes results for thousands of tables on every run, measure how long the ingestion calls take against your server sizing and database. Test batch sizes, retry behavior on timeouts, and whether duplicate posts create duplicate results. Ask your OpenMetadata support contact or your own load test to confirm the ceiling, rather than assuming the server handles a given volume.

Authentication for the publishing account

The account that posts results needs permission to create definitions and write results, and that permission should be narrower than an admin role. Confirm how the token is issued under your identity provider, since OpenMetadata does not support combining SSO with basic authentication. Plan token rotation and check that the publishing service account does not gain rights to edit unrelated assets.

Security docs

How external tools feed the same asset page

The flow starts with an external quality tool and a publishing job running in the client network. The job calls the OpenMetadata REST API to register a test definition and create a test case, then posts results against the asset. Those stored results are what the asset page, incident management and alert routing read. Check that the publishing identity has only the permissions it needs, and that the test case is linked to the right table or column before results appear.

External quality results flow through the API into one store that every consumer reads.

Questions teams ask before publishing external quality results

What drives the effort and cost of building a publisher instead of using native tests?

The main cost driver is how many external checks you need to publish and how much logic sits outside OpenMetadata. A publisher is custom code: it reads results from your tool, maps each result to a test definition and a table or column, and posts it through the API. Native tests in the Test Library cost less to build because the logic, scheduling and result display already exist. Cost rises with the number of source tools, the number of result formats, error handling for failed posts, and the testing your own code needs. Ask any partner to quote these items separately: discovery of the source tools, the publisher build, test definitions, verification in a non-production instance, and handover documentation. Recurring cost comes from maintaining the publisher when either side changes.

How long does a first external results integration usually take?

No fixed duration applies, because the time depends on the setup you already have. The biggest factors are how many source tools feed results, how clean their output is, whether the target tables are already cataloged with owners, and how many test definitions you register. Access approvals for the API and a non-production OpenMetadata instance also affect the schedule. A narrow first integration, with one source tool and a handful of checks on tables that already exist in the catalog, moves faster than a multi-tool rollout. Ask for a timeline that lists these dependencies as separate milestones, so you can see which ones your team controls.

What does the work need from our team before it starts?

Three things must be ready: API access, named owners, and a test plan. For API access, you need a service identity with permission to create test definitions and write test results on the relevant entities, plus a token stored in your secrets system. Named owners are the people who will receive failures for each asset, and they should already exist in OpenMetadata. The test plan lists each external check, the table or column it targets, the expected result, severity, and which tool produces it. Your team also needs a place to host the publisher, such as a scheduler you already run, and someone who can approve changes to test definitions.

Can an internal team build and run this integration alone?

Yes, if the team has engineers comfortable with the OpenMetadata REST API, one of its SDKs, and the source tool's output format. OpenMetadata publishes REST APIs, a Python SDK, TypeScript packages and Java libraries, so the language your team already uses is often enough. The harder part is operations: someone must own the publisher, watch for failed posts, and keep test definitions consistent with what the source tool actually checks. Internal teams often underestimate the upkeep of mapping logic and the review process for who may create definitions. If your team has the skills but limited time, a partner can build the first version and document it so your engineers can run it.

How do OpenMetadata upgrades affect custom test definitions and publishers?

Upgrades can change the API, the data model and the behavior of existing definitions, so test them before you upgrade production. Custom definitions registered through the API are stored in your OpenMetadata database, so they persist across upgrades, but your publisher calls the API directly and must match the version you run. OpenMetadata 2.0 includes breaking changes for ingestion, such as rebuilding custom ingestion images for Python 3.12 and migrating Great Expectations to 1.3 before upgrading. Confirm each breaking change in the release notes against your setup, and keep the publisher's client library pinned to a version you have tested. Include a rollback step and a non-production upgrade run in your plan.

What risks should we check before external results appear on the asset page?

The main risks are wrong results on the wrong asset, duplicate or missing results, and credentials with too much access. Check that each result maps to the correct fully qualified asset name, because a mismatch can attach a failure to a similar table in another domain. Test the publisher with known failing and passing data before any owner receives alerts, and confirm that retries do not create duplicate results. Limit the service identity to the entities it must update, and store its token in a secrets manager. Document who may create or edit test definitions, since a definition controls what every later result means.

When does a DeployOpen engagement make sense for this work?

An engagement makes sense when you need a defined scope, written deliverables and a tested integration, and your team lacks the time or the specific skills. DeployOpen plans, implements, customizes, integrates, documents and supports self-hosted open-source platforms inside your own infrastructure, which covers the OpenMetadata deployment and the publisher that feeds it. Most engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts, and a quote follows from that written scope. Ongoing support, upgrades and continuous testing are available as retainers, which suits teams that will keep changing test definitions. Ask for the scope to name the source tools, the check inventory and the handover steps.

How DeployOpen works on this

DeployOpen scopes the feed of quality results from your existing tools into OpenMetadata before any code is written. We build the test definitions and publishing jobs, test them against your own assets, and hand over a documented setup your team can run and change. Engagements are fixed-scope, with the scope agreed in writing first.

How we scope

  • We inventory the external tools, checks and result formats that must reach OpenMetadata, and name the owning team for each.
  • We map each external check to an asset, column and test definition so every result lands on the right asset page.
  • The written scope states which tools, tables, test definitions and publishing jobs are covered, and which are excluded.

How we build

  • We register custom test definitions through the documented API and confirm each one with a manual test result.
  • We build the publishing jobs that send results from your tools, with authentication handled through your chosen credential store.
  • We test failure paths, duplicate runs and missing results, and confirm that results appear on the correct asset pages.

How we hand over

  • You receive the test definitions, publishing code, configuration and a runbook covering each external source and its owner.
  • We document the mapping from every external check to its OpenMetadata asset, test and owner, so reviewers can audit coverage.
  • We walk your engineers through the setup and a sample failure so they can add new checks without us.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer, including checks after each OpenMetadata release.
  • We can review publishing jobs again when OpenMetadata upgrade notes change API formats or authentication requirements.
  • Ask any partner for the scope, deliverables and support terms in writing before work starts, and compare them with your own team's effort.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.