Patent

The record of who thought of what, and when the machine was asked to write it.

Also for this capability: API · CLI · MCP · SDKs

The record of who thought of what, and when the machine was asked to write it.

Base URLhttps://api.hanzo.ai
Operations12
AuthAuthorization: Bearer $HANZO_API_KEY

Specification

Specification pending — no HIP in hanzoai/hips declares capability: patent yet. What this capability serves is below, from the API document; what it is — the store it owns, how it meters, what it publishes — is written as a HIP under HIP-0139.

Four surfaces

SurfaceReaches this capability asCoverage
RESTpatent at its own prefix12 operations
CLIhanzo patent …12 of 12
SDK—no published client declares one yet — regenerating the clients is what adds them
MCPtool patent on https://api.hanzo.ai/v1/mcp12 operations, 3 under the document's own id — ask describe for the rest

Quickstart

export HANZO_API_KEY=sk-...   # console.hanzo.ai → API keys

Then the first call — a read that needs nothing but the key. GET /v1/patent/ideas, operation get_patent_ideas:

hanzo patent ideas get
import { Configuration, PatentApi } from 'hanzoai';

const api = new PatentApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getPatentIdeas();
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_ideas()
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.PatentAPI.GetPatentIdeas(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_ideas(&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).getPatentIdeas();

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/ideas \
  -H "Authorization: Bearer $HANZO_API_KEY"

MCP reaches patent through the patent tool, which names its 12 operations with its own verbs — this one among them, under a name only MCP declares. describe explains any of them:

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

Answers 200 with object — ok.

Endpoints

EndpointWhat it does
GET /v1/patent/approvalsReturns the decision trail — each person's current word on each disclosure.
POST /v1/patent/approvalsAppends one person's decision about one disclosure.
GET /v1/patent/disclosuresReturns the canonical disclosures, each carrying its current approvals.
POST /v1/patent/disclosuresAppends the assembled document and the record ids it rests on.
POST /v1/patent/grantsMakes the decision a recording never implied: whether an idea, implementation or disclosure stays private to its author's project, opens to the org, or goes public.
GET /v1/patent/healthReports what this deployment actually guarantees about the records it keeps, in honest states.
GET /v1/patent/ideasReturns the caller org's canonical conception entries, oldest appended first, which is the order the log says they were thought.
POST /v1/patent/ideasAppends conception entries.
GET /v1/patent/implementationsReturns the canonical implementation records with their citations.
POST /v1/patent/implementationsAppends the machine's half of the record, and the idea citation is the load-bearing field: it is what lets a reader see that the conception came first.
GET /v1/patent/proofFolds the caller's record set and answers the ordering question over it.
GET /v1/patent/timelineReturns every retained version of one entry, in append order.

All Hanzo APIs · Interactive reference

Was this page useful?
Broken link or missing step? Drop it in #docs on Discord or open a PR.