Why API

Check every warning against what happened next.

Record each decision when it is made: whether your warning pattern was present, and whether the alarm you already have fired. Attach the inspection result when it arrives. The Why API then reports how often the pattern was followed by a failure, compares it with your existing alarm on the same cases, and writes every step to a receipt chain.

Simulated press data. Every figure on screen is read from responses of the Why API.

The problem

A new warning rule is easy to write and hard to judge. Once it runs, nobody goes back to count how often it was right, how many failures it missed, or whether it does better than the alarm already in place. Results that arrive days later are compared with what is known today, not with what was known when the decision was made. The rule stays because nobody can show that it should go.

What you get

The answer as of the decision

Each assessment counts only earlier cases whose results were available at that moment, and is stored as it was answered. A late result cannot rewrite it.

A frequency with its interval

From five comparable inspected cases on, the share that failed, with a 95 % interval. Below five, the answer says that the history is not enough.

Your alarm on the same cases

Warnings, failures caught, false warnings and failures missed, for the pattern and for the existing alarm, with the mean time before a caught failure.

A verifiable record

Every assessment, result and deletion appends a receipt with hashes of the request and the answer. Export the chain and check it against a head you kept.

How it works

  • Record each decision

    POST /v1/why/assess_pattern for every eligible case, quiet ones included, with the pattern and its version, the asset and its operating context.

  • Attach the result

    POST /v1/why/record_outcome with pass, fail, uninspected or intervened, the time it was observed and the time it became available.

  • Compare and keep the record

    POST /v1/why/evaluate_pattern for the same scope and a cutoff time. Export the receipts and keep the head with a second party.

Where it fits

  • Quality teams deciding whether an extra inspection trigger earns its cost
  • Operations teams following sensor patterns to later inspection results
  • Teams that must show afterwards what was known when a warning was raised

What it does not do

The estimate is an observed frequency in your own cases. It is not a prediction for another asset and it does not establish a cause. You define the pattern and say whether it matched; the service does not detect it. Cases inspected only after a warning bias the result, and a case in which someone intervened is counted separately.

All stated limitations

Included in the Trial, Developer and Team plans

The 14-day trial needs no card.

See pricing

Other APIs: Verification API · Memory API · Spatial Memory API · Locus API · Anomaly API · Signals API