List approvals

Returns the decision trail — each person's current word on each disclosure.

GET /v1/patent/approvals

Addresshttps://api.hanzo.ai/v1/patent/approvals
MethodGET
Operationget_patent_approvals
AuthAuthorization: Bearer $HANZO_API_KEY

Returns the decision trail — each person's current word on each disclosure. ?disclosure= narrows to one document.

Request

2 fields.

FieldInTypeRequiredDescription
disclosurequerystring—Disclosure narrows to the decisions on one document.
projectquerystring—Project narrows to one project.

Response

StatusBodyMeaning
200patent.approvalsOutok
defaultproblem-detailsrefused

200 body — 14 fields.

FieldInTypeAlwaysDescription
databodypatent.PatentApproval[]—Data are the current decisions of record, oldest append first.
data[].authored_bybodystring—AuthoredBy is the validated principal who decided.
data[].canonicalbodyboolean—Canonical is DERIVED on read: this author's latest word on this disclosure.
data[].commentbodystring—Comment is the reviewer's note — the part an inventor reads.
data[].content_hashbodystring—ContentHash is the server's digest of the recorded content.
data[].decisionbodystring—Decision is approved, rejected or needs-work.
data[].disclosure_idbodystring—DisclosureID is the document this decides on.
data[].idbodystring—ID is the server's handle for this decision, derived from the disclosure and its author.
data[].projectbodystring—Project is the SERVER's scope value.
data[].recorded_atbodystring—RecordedAt is the server's clock.
data[].revisionbodystring—Revision is original, corrected or retracted.
data[].rolebodystring—Role is the capacity the person acted in: author, cto, reviewer, attorney or counsel.
data[].seqbodyinteger (int64)—Seq is the append order.
totalbodyinteger (int64)—Total is len(data).

Failure carries the platform error shape — see Errors.

Examples

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

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

resp, _, err := client.PatentAPI.GetPatentApprovals(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_approvals(&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).getPatentApprovals();

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/approvals \
  -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"
         }
       }
     }'

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.