Contract health and verification analytics
Contract health rolls every consumer ↔ provider pair with a pact into one state, built from what the Pact Broker already records about it: verification results, staleness, re-publish requests and webhook deliveries. It also shows how each pair's verification has trended: its pass rate, its flakiness (how often the verdict flips) and its mean duration, per day or per week.
Health is worked out each time you open the page. Nothing is stored, and nothing needs turning on.
Before you start
- You hold Pacts → View. Without it, the page shows Permission denied.
- A pair appears once its consumer publishes a pact. Its trends fill in as verification results are published.
Open Contract health
- In the rail, under Ship, click Contracts.
- Click the Health tab.


/ade/dashboard/pacts/healthThe strip at the top counts the pairs in each state, and gives the pass rate, flakiness and mean duration of every listed pair together.
The Pairs table lists the pairs worst first: Failing, then Degraded, Unknown and Healthy, then by provider and consumer.
| Column | What it shows |
|---|---|
| Pair | The consumer and provider. Click it to open the pair's page. |
| Health | The pair's state (see below). |
| Concerns | Each signal that fails or warns, failing first. Hover one to read why. |
| Runs | Verification results published in the window. |
| Pass rate | The share of those results that passed. |
| Flakiness | How often the verdict changed from one result to the next. |
| Mean duration | The mean run time of the results that carry one. |
| Last verified | When the newest pact's newest result was published. |
Use the two lists above the table to narrow it:
- Window: Last 7 days, Last 30 days (the default) or Last 90 days.
- State: one state, or Every state.
Both are kept in the page address, so you can share the view. The counts still cover every pair. The page lists at most 500 pairs; if more match, it says how many are left out, so narrow it by state.
How a pair's health is worked out
Each pair has six signals. Each one is OK, Warning, Failing or No evidence:
| Signal | OK | Warning | Failing | No evidence |
|---|---|---|---|---|
| Latest verdict | The newest pact's newest result passed. | The newest pact has no result yet. | The newest pact's newest result failed. | — |
| Pass rate | 95% or more of the window's results passed. | 80% to 95%. | Under 80%. | No result in the window. |
| Flakiness | The verdict changed between 10% or fewer of consecutive results. | Over 10%, up to 30%. | Over 30%. | Fewer than three results in the window. |
| Overdue | The newest pact was verified within its stale threshold. | It was not. | — | The stale-pact sweep has not checked the newest pact yet. |
| Re-publish request | No request is open. | A re-publish request to the consumer is open. | — | — |
| Webhooks | The newest delivery of each contract webhook that fired for the pair did not fail. | At least one newest delivery failed for good. | — | No webhook fired for the pair in the window. |
The pair's state is the worst of its signals:
| State | When |
|---|---|
| Failing | At least one signal is failing. |
| Degraded | At least one signal warns, and none fails. |
| Healthy | Every signal with evidence is OK. |
| Unknown | No signal has evidence yet. |
A signal with No evidence never makes a pair worse. It is still listed on the pair's page, so you can see what was not checked.
:::note Flakiness counts flips, not failures Results passed, failed, passed, failed have a pass rate of 50% and a flakiness of 100%: the verdict changed every time. Results passed, passed, failed, failed have the same pass rate but a flakiness of 33%: one change in three. A pair that fails steadily is failing; a pair that flips is flaky, which usually means a test that depends on timing, data or order. :::
Open a pair
Click a pair. Its page shows:


/ade/dashboard/pacts/health/ledger-api/orders-ui?window=7d- Health: the pair's state, its newest pact, when that was published and last verified, and the window's runs, failures, pass rate, verdict flips, flakiness and mean duration. If a re-publish request is open, Open re-publish request opens it.
- Signals: each of the six signals with its status, why, and its reason code (for example
pact-health-pass-rate-low). - Trends: a chart each for Pass rate, Flakiness and Mean duration, one point per day (per week for Last 90 days). A day with no result has no point, so the line breaks there rather than dropping to zero. Hover a point to read its day and value.
- Trend: the same numbers as a table, newest first, with days that had no result included.


/ade/dashboard/pacts/health/ledger-api/orders-ui?window=7dResults published by a verifier outside Apiome often carry no duration. They count towards the pass rate and flakiness, but not the mean duration, and the page says how many were left out.
Change the Window list to see another window. In the header's ⋯ menu, Open the pact opens the pact, and Verification history opens the provider's Verification page narrowed to this consumer.
On the Verification page
The provider's Verification page shows each consumer's health state next to its name. Click it to open the pair's health.
Who can do what
| To | You need |
|---|---|
| Open Contract health and a pair's health | Pacts → View |
Every read is scoped to your current workspace: another workspace's pairs never appear, and naming another workspace's pacticipant answers not found.
REST API
| Method and path | What it does |
|---|---|
GET /v1/tenants/{tenant}/pact-health | Every pair's health over a window (7d, 30d or 90d), worst first. Narrow by provider, consumer and state. |
GET …/pact-health/providers/{provider}/consumers/{consumer} | One pair's health and its trend, one bucket per day (per week for 90d). |
Each signal carries a status, a reason code and a summary. An unknown window or state
answers 400 (pact-health-window-invalid, pact-health-state-invalid); a consumer with no pact
for the provider answers 404 (pact-health-pair-not-found). See the
REST reference.
Health covers Pact signals only. SLA breaches, consent and disputes on an agreement are added by the contract agreements work, which builds on this rollup.