OpenapiTrust
List frameworks
Lists the frameworks coverage is computed against, and how many clauses each publishes.
GET /v1/trust/frameworks
| Address | https://api.hanzo.ai/v1/trust/frameworks |
| Method | GET |
| Operation | get_trust_frameworks |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Lists the frameworks coverage is computed against, and how many clauses each publishes. That count is the denominator of every coverage number, which is what keeps an uncovered clause visible instead of dropping out of the fraction.
Request
GET /v1/trust/frameworks takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | frameworkList | ok |
200 body — 8 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
frameworks | body | frameworkRow[] | — | Frameworks is each framework and how many clauses it publishes. |
frameworks[].edition | body | string | — | Edition is which edition this clause list is taken from. |
frameworks[].framework | body | string | — | Framework is the framework id. |
frameworks[].name | body | string | — | Name is the published standard's name. |
frameworks[].publisher | body | string | — | Publisher is who publishes it. |
frameworks[].total | body | integer | — | Total is how many clauses the standard publishes. |
frameworks[].unit | body | string | — | Unit is what one clause is; Units is its plural. |
frameworks[].units | body | string | — | Units is Unit's plural, carried so a caller renders "12 controls" without having to pluralise a word it does not know. |
Failure carries the platform error shape — see Errors.
Examples
hanzo trust frameworksimport { Configuration, TrustApi } from 'hanzoai';
const api = new TrustApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getTrustFrameworks();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_frameworks()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.TrustAPI.GetTrustFrameworks(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::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_frameworks(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.TrustApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new TrustApi(client).getTrustFrameworks();curl https://api.hanzo.ai/v1/trust/frameworks \
-H "Authorization: Bearer $HANZO_API_KEY"MCP declares no tool for trust — tools/list on https://api.hanzo.ai/v1/mcp names the products it does reach. Use HTTP or an SDK.
How is this guide?