Package Health evidence API#

Read objective evidence for a published package version:

GET /tools/{package_id}/{version}/health

The route supports Tools, Skills, Agents, Templates, Knowledge, Memory Blueprints, Instruction Profiles and Loops. The historical /tools route name is shared by all eight kinds. Public packages allow anonymous reads; private packages require the same namespace access as other package details. Inaccessible packages and missing versions return 404. A temporary database failure returns 503 with code health_unavailable.

Use an exact version for repeatable inspection. latest resolves to a concrete version, which is included in the response. Responses use Cache-Control: private, no-store; a previously retrieved verification result must not be treated as a fresh check.

Response#

The response contains schema_version: 1, package identity, selected version and publication date, observed_at, universal signals, target-specific artifacts, and extensions for the package kind. It has no overall score. Stars and install counts remain package popularity metrics on the existing detail endpoints.

Each signal supplies a signal_key, scope, status, label, structured value, optional reason, explanation, and evidence. Evidence names the source, observer, check and trust context where applicable. Evaluation, verification and observation timestamps are separate; an absent timestamp is null, not the publication date or current time. Older timestamps without a timezone offset retain that form; Health does not invent an offset for them.

  • declared and advisory describe metadata and hints, not completed checks.
  • passed describes a particular completed check at its recorded scope.
  • verified requires an actual integrity/signature check, attributed to its observer. For example, Author signature verified by Registry describes a Registry-performed check. It is not independent verification by your machine or protection against a compromised Registry. Keep the observer and check in visible labels and accessible names; never render a bare “Verified” badge.
  • incomplete, unknown and not_evaluated retain partial or missing evidence. failed means a check produced a negative result. not_applicable means the signal is irrelevant to that package or release format.

What the evidence establishes#

An APDS declaration is separate from recorded standalone, packaged and resolved validation. Historical legacy_inferred interpretation is not an authored declaration or conformance certificate. Older validation reports may have no evaluation timestamp; new Registry validations record their actual completion time. These checks do not prove Runner execution or local readiness.

A logical release digest binds its canonical manifest, resolution and artifact inventory. Artifact entries contain their full expected SHA-256 digests. Health does not download archives to check their bytes on every read. Recorded expected digests and recomputed release metadata are different evidence. For Tools, a passed Python resolution check validates the recorded dependency metadata; it does not mean wheels were installed or a runtime was provisioned.

Registry attestation verification requires an authenticated, unexpired root-signed key set and matching statement/key history. If current trust material is expired or unavailable, its current verification status becomes unknown. That does not prove the package bytes invalid. Normal author-key revocation does not erase a valid signature accepted for a historical publication.

Malware scan progress, result, timestamps and artifact coverage are distinct. A completed clean release summary requires every expected artifact to have a completed clean scan. “No threats found” is not a safety guarantee. Missing or failed scans, unavailable scanner versions, and absent vulnerability/SBOM reports do not become positive results.

Dependency evidence is a current authorized metadata resolution with concrete versions and expected digests. It is not a historical lock or verification of downloaded dependency bytes. If a dependency cannot be inspected, the partial graph is withheld rather than exposing private identities. Inspection is bounded to 256 distinct selections/nodes, 4,096 edges and 16 MiB of manifest metadata; reaching a bound returns incomplete evidence.

License and compatibility metadata are declarations, not legal assurance or runtime enforcement. Publication age alone does not establish maintenance quality. Withdrawal is recorded separately from formal deprecation, for which there is no dedicated data source yet.

For local verification of installable Agent Packages and Components, use the existing install policy:

agentpm install --require-signature --require-attestation

This command performs checks when run; displaying it is an instruction, not a completed verification result. Strict installation remains fail-closed when required trust material is unavailable. See install.

The existing Security endpoint remains available with its established proof, signature, license and scan details. Health returns a limited summary and omits raw signed statements, publisher account IDs, internal storage paths and scanner notes. It does not change published artifact bytes or backfill missing proof.

Inspect Health & Security on the website#

Every kind's existing Health & Security tab shows evidence for the selected release, with the same scope captions and source/observer language. Definition, integrity/provenance, scanning, artifacts and metadata remain separate. Expand a check to inspect its source, trust context and recorded timestamps. Retrieval is not re-evaluation. Unknown or not-evaluated evidence does not become a green pass.

APDS scope results use the same validated projection as the Health and Security APIs, never the raw stored validation JSON. Scope issues expose recorded rule identifiers (or null when unavailable) and preserve finding counts. Diagnostic messages, filenames, paths and notes remain withheld to avoid leaking private dependency or host details. Rule links explain the normative requirements. A recorded violation takes precedence over incomplete inspection context; each scope's explanation remains independent. Passed scopes do not produce empty finding disclosures. Older projections without detailed findings remain usable and explicitly say when the detail was not supplied.

Expand Recorded malware scan to inspect its source, progress, result, coverage and recorded times together. These details describe the same release scan summary; individual artifact scan results remain under Artifacts.

Artifacts are listed individually by target with full expected digests, size, format and independent scan results. Scanning includes progress, coverage and recorded times where available. A complete clean summary requires every expected target; a known threat is not hidden by incomplete coverage elsewhere. Complete public signature/attestation records and license inspection remain available through disclosures. Their presence is separate from the Registry's current verification result.

The sidebar is intentionally sparse. Agents retain local Harness preflight instructions and explicit unevaluated support/readiness boundaries. A Python Tool with a recorded resolution check can show that metadata-consistency result and a link to its distribution snapshot on Overview; this is not dependency vulnerability assessment or verification of installed bytes. Node Tools and Tools without a recorded check show verification guidance alone. Targets remain in the artifact inventory. The Tool target-support metadata row is shown only on Tools; other kinds do not inherit a Tool-only checklist. Empty metadata objects are not shown as JSON details. Skills, Knowledge, Memory Blueprints, Instruction Profiles, Loops and Templates also show verification guidance alone rather than repeating Overview declarations or the Definition section's APDS scope checks. Python distribution snapshots span platforms; they are not a universal wheel set.

The copyable verification command pins the selected version and invokes strict signature and attestation checks when you run it locally. Templates are an exception: agentpm install rejects Templates, and agentpm new currently has no --require-signature or --require-attestation flags. The Template page states that limitation instead of offering an unsupported verification command. Creating a project is not presented as independent signature verification.

Private or missing root packages remain inaccessible. When optional evidence is unavailable or inconsistent with the selected identity, the page retains the authorized definition and explains the missing evidence without exposing a partial private graph or borrowing another version's result.

Supported evidence versus unavailable evidence#

The website renders checks supported by the current pipeline. It does not show permanent placeholder rows for vulnerability/SBOM assessment or formal deprecation checks, because no corresponding report writer exists. The API's existing placeholder signals remain compatible; their presence is not a feature claim. Malware scanning and publication/withdrawal metadata remain inspectable, with a brief explanation of those pipeline boundaries.

Evidence details show actual recorded fields. Observation time identifies the Registry snapshot. Evaluation time is relevant to recorded APDS validations and scan runs; verification time identifies an actual Registry integrity/signature check. Trust-expiry time is shown when a check supplies it, such as an authenticated Registry key set. Absent times are omitted instead of producing empty fields on artifact inventories and ordinary metadata. A stored archive digest does not acquire a verification timestamp just because it is displayed.

Kind-specific metadata is not automatically Health evidence. Authored modes, stack declarations, record-index presence and inventory counts remain in Overview. Model behavioral compliance, provider readiness, scheduler execution and successful scaffolding are not presented as pending Registry checks.

Some earlier reports lack the current publication-policy marker even though their stored scopes say conformant. They remain unknown with reason validation_policy_unrecorded, and the website explains the missing metadata. This does not silently certify, rewrite or revalidate the historical release. Reports with other consistency failures remain validation_report_inconsistent.

Current package-dependency inspection is shown only for Agent Packages, Skills and Templates when actual dependency metadata is available or inspection is incomplete. Empty dependency graphs are omitted. Knowledge, Memory Blueprints, Instruction Profiles, Loops and Tools do not inherit that generic advisory row; Python distribution resolution is a separate check. Current resolution is not a historical install lock or verification of downloaded dependency bytes.

Artifact labels describe the stored packaging format. Original-format releases show Single archive for Node Tools and the other package kinds, including newly published releases. Python Tools using that original format show Legacy archive, because Python Tools now support the newer release/artifact workflow. New-format records retain their actual target names. This is display copy only; the API's legacy target and stored digests/scans are unchanged. It is independent of APDS legacy_inferred, which describes a missing standard declaration.