OpenapiCompliance
Status is the org's honest posture read: the wired provider and the per-status…
Status is the org's honest posture read: the wired provider and the per-status tally of its verifications.
GET /v1/compliance/status
| Address | https://api.hanzo.ai/v1/compliance/status |
| Method | GET |
| Operation | get_compliance_status |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Status is the org's honest posture read: the wired provider and the per-status tally of its verifications. It is deliberately NOT a boolean "compliant" — it reports counts of provider-reported states and carries the boundary disclaimer.
Request
GET /v1/compliance/status takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | statusView | ok |
200 body — 6 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
disclaimer | body | string | — | Disclaimer states that statuses are provider-reported, never a platform assertion of legal or regulatory compliance. |
provider | body | string | — | Provider is the wired verification provider's name. |
verifications | body | verificationTally | — | |
verifications.byStatus | body | object | — | ByStatus tallies the org's verifications by provider-reported status. |
verifications.byStatus.* | body | integer | — | |
verifications.total | body | integer | — | Total is the sum over every status. |
Failure carries the platform error shape — see Errors.
Examples
hanzo compliance statusimport { Configuration, ComplianceApi } from 'hanzoai';
const api = new ComplianceApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getComplianceStatus();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import ComplianceApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = ComplianceApi(client).get_compliance_status()cfg := cloud.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := cloud.NewAPIClient(cfg)
resp, _, err := client.ComplianceAPI.GetComplianceStatus(context.Background()).Execute()
if err != nil {
return err
}use hanzo_cloud::apis::{configuration::Configuration, compliance_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = compliance_api::get_compliance_status(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.ComplianceApi;
ApiClient client = new ApiClient();
client.setRequestInterceptor(b -> b.header("Authorization", "Bearer " + System.getenv("HANZO_API_KEY")));
var result = new ComplianceApi(client).getComplianceStatus();curl https://api.hanzo.ai/v1/compliance/status \
-H "Authorization: Bearer $HANZO_API_KEY"Tool compliance, op get_compliance_status — 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": "compliance",
"arguments": {
"op": "get_compliance_status",
"input": {}
}
}
}'How is this guide?