List health
Reports what this deployment actually guarantees about the records it keeps, in honest states.
GET /v1/patent/health
| Address | https://api.hanzo.ai/v1/patent/health |
| Method | GET |
| Operation | get_patent_health |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Reports what this deployment actually guarantees about the records it keeps, in honest states. Anchored and durable are the two that change what a record is worth, and an unwired one reads as unwired rather than as a green light.
Request
GET /v1/patent/health takes no parameters and no body — the credential is the whole request.
Response
| Status | Body | Meaning |
|---|---|---|
200 | patent.patentHealth | ok |
default | problem-details | refused |
200 body — 5 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
anchored | body | boolean | — | Anchored is whether record roots are committed outside this platform. |
durable | body | boolean | — | Durable is whether acknowledged writes are fenced to a durable object. |
now | body | string | — | RecordedAt is the server's time now, RFC3339 — so a reader can tell how stale its own view is. |
signature_verification | body | boolean | — | SignatureVerification is whether the server can verify a submitted detached signature. |
stamped_by | body | string | — | ServerClockSays is what stamps a record: always "server", because no client-supplied timestamp is read anywhere in this package. |
Failure carries the platform error shape — see Errors.
Examples
hanzo patent healthimport { Configuration, PatentApi } from 'hanzoai';
const api = new PatentApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getPatentHealth();from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import PatentApi
client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = PatentApi(client).get_patent_health()cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)
resp, _, err := client.PatentAPI.GetPatentHealth(context.Background()).Execute()
if err != nil {
return err
}use hanzo_client::apis::{configuration::Configuration, patent_api};
let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();
let result = patent_api::get_patent_health(&cfg, Default::default()).await?;import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.PatentApi;
ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));
var result = new PatentApi(client).getPatentHealth();The method above is the one at the current release of the document. [email protected] (npm) and [email protected] (PyPI) were generated from an earlier release, where this operation carried a different id, so it spells the method differently — regenerating the clients is what makes the two agree. SDKs →
curl https://api.hanzo.ai/v1/patent/health \
-H "Authorization: Bearer $HANZO_API_KEY"Tool patent, op get_patent_health — 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": "patent",
"arguments": {
"op": "get_patent_health",
"input": {}
}
}
}'