List approvals
Returns the decision trail — each person's current word on each disclosure.
GET /v1/patent/approvals
| Address | https://api.hanzo.ai/v1/patent/approvals |
| Method | GET |
| Operation | get_patent_approvals |
| Auth | Authorization: Bearer $HANZO_API_KEY |
Returns the decision trail — each person's current word on each disclosure. ?disclosure= narrows to one document.
Request
2 fields.
| Field | In | Type | Required | Description |
|---|---|---|---|---|
disclosure | query | string | — | Disclosure narrows to the decisions on one document. |
project | query | string | — | Project narrows to one project. |
Response
| Status | Body | Meaning |
|---|---|---|
200 | patent.approvalsOut | ok |
default | problem-details | refused |
200 body — 14 fields.
| Field | In | Type | Always | Description |
|---|---|---|---|---|
data | body | patent.PatentApproval[] | — | Data are the current decisions of record, oldest append first. |
data[].authored_by | body | string | — | AuthoredBy is the validated principal who decided. |
data[].canonical | body | boolean | — | Canonical is DERIVED on read: this author's latest word on this disclosure. |
data[].comment | body | string | — | Comment is the reviewer's note — the part an inventor reads. |
data[].content_hash | body | string | — | ContentHash is the server's digest of the recorded content. |
data[].decision | body | string | — | Decision is approved, rejected or needs-work. |
data[].disclosure_id | body | string | — | DisclosureID is the document this decides on. |
data[].id | body | string | — | ID is the server's handle for this decision, derived from the disclosure and its author. |
data[].project | body | string | — | Project is the SERVER's scope value. |
data[].recorded_at | body | string | — | RecordedAt is the server's clock. |
data[].revision | body | string | — | Revision is original, corrected or retracted. |
data[].role | body | string | — | Role is the capacity the person acted in: author, cto, reviewer, attorney or counsel. |
data[].seq | body | integer (int64) | — | Seq is the append order. |
total | body | integer (int64) | — | Total is len(data). |
Failure carries the platform error shape — see Errors.
Examples
hanzo patent approvals getimport { 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"
}
}
}'