# List approvals

URL: https://docs.hanzo.ai/docs/openapi/patent/get-patent-approvals

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

`GET /v1/patent/approvals`

> [Patent →](https://docs.hanzo.ai/docs/openapi/patent) · [All API references →](https://docs.hanzo.ai/docs/openapi) · [Get started →](https://docs.hanzo.ai/docs/guides)

|               |                                            |
| ------------- | ------------------------------------------ |
| **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](https://docs.hanzo.ai/docs/errors).

## Examples

**CLI**

```bash
hanzo patent approvals get
```

**SDK**

**.ts**

```ts
import { Configuration, PatentApi } from 'hanzoai';

const api = new PatentApi(new Configuration({ accessToken: process.env.HANZO_API_KEY }));
const { data } = await api.getPatentApprovals();
```

**.py**

```python
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()
```

**.go**

```go
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
}
```

**.rs**

```rust
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?;
```

**.java**

```java
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. `hanzoai@8.5.914` (npm) and `hanzoai@8.5.914` (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 →](https://docs.hanzo.ai/docs/sdks)

**HTTP**

```bash
curl https://api.hanzo.ai/v1/patent/approvals \
  -H "Authorization: Bearer $HANZO_API_KEY"
```

**MCP**

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:

```bash
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](https://docs.hanzo.ai/docs/openapi/patent) · [All Hanzo APIs](https://docs.hanzo.ai/docs/openapi) · [Interactive reference](https://docs.hanzo.ai/docs/openapi/reference)
