The integration layer

Scanner API

A scanner API is a workflow. Not just a verdict.

A scanner API connects an application to an inspection engine. The input might be a file, a repository, a prompt, or an image. The useful output is more than a pass or fail: it explains what was checked, what was found, and what could not be inspected.

Scan orchestration · Result design · Review workflows

Scanner API typography card: Scan. Understand. Decide.
The question that matters

How do I connect different scanning tools without losing context?

Define a shared job envelope, retain engine-specific evidence, and keep processing status separate from the policy decision. An incomplete scan should remain incomplete, not quietly become an approval.

A practical workflow

From input to a useful decision.

01

Define the object

Record the input type, an immutable version or content digest, the owner, and the purpose of the inspection.

02

Request the checks

Select the engines and policies that are relevant to the object. Track each engine separately rather than hiding partial coverage.

03

Preserve the evidence

Return normalized findings alongside the original result references, coverage information, and the version of the rules used.

04

Make the decision

Apply your own release, block, or review policy. Keep a retrievable record of the reason and who can override it.

Design with context

Where this fits.

For an upload portal, a scan job can stay in quarantine while inspection runs. For a repository workflow, the same job envelope can carry a commit identifier and findings from several specialized tools. The shared structure supports operations; it does not make the engines interchangeable.

What the result cannot promise

A scanner API is an interface, not a guarantee of detection. A result is only as useful as its scope, input integrity, and interpretation. Document the types of uncertainty that should hold an object for review.

A mistake worth avoiding

Do not collapse transport success, scan completion, and content approval into the same boolean. They answer three different questions.

Evaluation checklist

Processing status

Can the integration distinguish queued, running, completed, failed, and expired jobs?

Coverage

Which formats, branches, engines, or text segments were actually inspected?

Evidence

Can a reviewer trace a finding back to the exact input and scanner version?

Operations

What happens during a timeout, an engine update, a retry, or a policy change?

Scanner API questions

Clear answers.
Better decisions.

Is a scanner API the same as an API scanner?

No. A scanner API exposes scanning through an interface. An API scanner assesses the security or behavior of API endpoints.

Should every scan run synchronously?

Not necessarily. Use short synchronous checks only where they fit the latency budget; use a tracked job for longer or variable work.

What does HTTP 202 tell a client?

It says the request was accepted for processing. It does not establish that inspection has completed or that the content is acceptable.