List coverage

Reads coverage: per framework, how many clauses have an automated control behind them, how many are partial, and how many have none — each carrying the unit it is counted in, because "12 of 20" is not a fact until you know what the 20 are.

GET /v1/trust/coverage

Addresshttps://api.hanzo.ai/v1/trust/coverage
MethodGET
Operationget_trust_coverage
AuthAuthorization: Bearer $HANZO_API_KEY

Reads coverage: per framework, how many clauses have an automated control behind them, how many are partial, and how many have none — each carrying the unit it is counted in, because "12 of 20" is not a fact until you know what the 20 are.

Nothing here is a verdict. There is no boolean, and a control that only a person has read counts one rung weaker than it claims to be, because only a check that can FAIL is evidence.

Request

GET /v1/trust/coverage takes no parameters and no body — the credential is the whole request.

Response

StatusBodyMeaning
200trust.trustCoverageok
defaultproblem-detailsrefused

200 body — 22 fields.

FieldInTypeAlwaysDescription
controlsbodytrust.trustTally—
controls.absentbodyinteger (int64)—Absent is how many the organization does not have.
controls.automatedbodyinteger (int64)—Automated is how many run with nobody in the loop.
controls.partialbodyinteger (int64)—Partial is how many run but do not cover their whole claim.
controls.statementbodystring—Statement is the counts as one sentence, safe to quote.
controls.totalbodyinteger (int64)—Total is how many controls this organization publishes.
controls.unverifiedbodyinteger (int64)—Unverified is how many rest on somebody having READ the source rather than on a test or an audit row.
frameworksbodytrust.coverRow[]—Frameworks is the per-framework counts.
frameworks[].automatedbodyinteger (int64)—Automated is how many clauses have an automated control behind them that something can fail on behalf of.
frameworks[].editionbodystring—Edition is which edition the clause list is taken from.
frameworks[].frameworkbodystring—Framework is the framework id — "soc2", "iso27001", "nist80053".
frameworks[].namebodystring—Name is the published standard's name.
frameworks[].nonebodyinteger (int64)—None is how many have nothing behind them.
frameworks[].notebodystring—Note is what the clause list itself is scoped to, when the framework's catalog says something a count alone would misrepresent.
frameworks[].partialbodyinteger (int64)—Partial is how many are answered in part.
frameworks[].publisherbodystring—Publisher is who publishes it — AICPA, ISO/IEC, NIST.
frameworks[].statementbodystring—Statement is the counts as one sentence, carrying the unit.
frameworks[].totalbodyinteger (int64)—Total is the framework's WHOLE published clause list — the denominator.
frameworks[].unitbodystring—Unit is what ONE clause is — "criterion", "control", "family".
frameworks[].unitsbodystring—Units is the plural of Unit, for rendering a sentence.
generatedbodyinteger (int64)—Generated is when this was computed, unix milliseconds.
versionbodystring—Version is the embedded inventory's version.

Failure carries the platform error shape — see Errors.

Examples

hanzo trust coverage list
import { Configuration, TrustApi } from 'hanzoai';

const api = new TrustApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getTrustCoverage();
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import TrustApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = TrustApi(client).get_trust_coverage()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.TrustAPI.GetTrustCoverage(context.Background()).Execute()
if err != nil {
	return err
}
use hanzo_client::apis::{configuration::Configuration, trust_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = trust_api::get_trust_coverage(&cfg, Default::default()).await?;
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.TrustApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new TrustApi(client).getTrustCoverage();
curl https://api.hanzo.ai/v1/trust/coverage \
  -H "Authorization: Bearer $HANZO_API_KEY"

Tool trust, op get_trust_coverage — POST the JSON-RPC envelope to https://api.hanzo.ai/v1/mcp.

curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "trust",
         "arguments": {
           "op": "get_trust_coverage",
           "input": {}
         }
       }
     }'

Trust API · All Hanzo APIs · Interactive reference

Was this page useful?