Create grants

Makes 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.

POST /v1/patent/grants

Addresshttps://api.hanzo.ai/v1/patent/grants
MethodPOST
Operationpost_patent_grants
AuthAuthorization: Bearer $HANZO_API_KEY

Makes 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. Publication of a conception entry is a disclosure under 35 U.S.C. §102 in every jurisdiction that reads it that way, so it is always a separate call and never a side effect of writing one down.

Request

4 fields, body application/json (required).

FieldInTypeRequiredDescription
idbodystring—ID is the record's stable id.
kindbodystring—Kind is idea, implementation or disclosure — what the id names.
projectbodystring—Project locates the record inside the caller's own org.
visibilitybodystring—Visibility is private, org or public.

Response

StatusBodyMeaning
200patent.patentGrantOutok
defaultproblem-detailsrefused

200 body — 1 field.

FieldInTypeAlwaysDescription
updatedbodyinteger (int64)—Updated is how many records the grant moved to the visibility asked for.

Failure carries the platform error shape — see Errors.

Examples

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

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

resp, _, err := client.PatentAPI.PostPatentGrants(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::post_patent_grants(&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).postPatentGrants();

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 -X POST https://api.hanzo.ai/v1/patent/grants \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "id": "<id>",
       "kind": "<kind>"
     }'

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"
         }
       }
     }'

Patent API · All Hanzo APIs · Interactive reference

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