# List implementations

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

> Returns the canonical implementation records with their citations.

`GET /v1/patent/implementations`

> [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/implementations` |
| **Method**    | `GET`                                            |
| **Operation** | `get_patent_implementations`                     |
| **Auth**      | `Authorization: Bearer $HANZO_API_KEY`           |

Returns the canonical implementation records with
their citations. ?idea= is the query the record exists to answer: which
artifacts rest on this one conception entry.

## Request

3 fields.

| Field     | In    | Type   | Required | Description                                                                                                                                    |
| --------- | ----- | ------ | -------- | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `id`      | query | string | —        | ID reads one implementation.                                                                                                                   |
| `idea`    | query | string | —        | Idea narrows to implementations citing one conception entry — which is how a correction finds every artifact built on the idea it invalidates. |
| `project` | query | string | —        | Project narrows to one project.                                                                                                                |

## Response

| Status    | Body            | Meaning |
| --------- | --------------- | ------- |
| `200`     | patent.implsOut | ok      |
| `default` | problem-details | refused |

`200` body — 22 fields.

| Field                    | In   | Type                           | Always | Description                                                                                                                                  |
| ------------------------ | ---- | ------------------------------ | ------ | -------------------------------------------------------------------------------------------------------------------------------------------- |
| `data`                   | body | patent.PatentImplementation\[] | —      | Data are the canonical records, oldest append first.                                                                                         |
| `data[].artifact_sha256` | body | string                         | —      | ArtifactSHA256 is the digest of the recorded artifact — a diff, a file, a build — when the caller has one and wants it addressed by content. |
| `data[].authored_by`     | body | string                         | —      | AuthoredBy is the validated principal who recorded this.                                                                                     |
| `data[].canonical`       | body | boolean                        | —      | Canonical is DERIVED on read.                                                                                                                |
| `data[].content_hash`    | body | string                         | —      | ContentHash is the server's digest of the recorded content.                                                                                  |
| `data[].generated`       | body | boolean                        | —      | Generated says the recorded artifact was produced with a model's assistance rather than typed by hand.                                       |
| `data[].git_branch`      | body | string                         | —      | GitBranch is the branch that commit was on.                                                                                                  |
| `data[].git_dirty`       | body | boolean                        | —      | GitDirty says the working tree carried uncommitted changes when this was recorded.                                                           |
| `data[].git_sha`         | body | string                         | —      | GitSHA is the commit.                                                                                                                        |
| `data[].human_review`    | body | string                         | —      | HumanReview is what a person did with the output: accepted, edited, rewritten, or none.                                                      |
| `data[].id`              | body | string                         | —      | ID is this implementation's stable id — usually the artifact or change it records, e.g. router-v2-generated.                                 |
| `data[].idea_ids`        | body | string\[]                      | —      | IdeaIDs names the conceptions this implements.                                                                                               |
| `data[].model`           | body | string                         | —      | Model names the system that produced the code, as it was addressed.                                                                          |
| `data[].notes`           | body | string                         | —      | Notes is anything a later reader needs.                                                                                                      |
| `data[].project`         | body | string                         | —      | Project is the SERVER's scope value.                                                                                                         |
| `data[].prompt_sha256`   | body | string                         | —      | PromptSHA256 is the digest of the prompt, not the prompt.                                                                                    |
| `data[].recorded_at`     | body | string                         | —      | RecordedAt is the server's clock.                                                                                                            |
| `data[].repo`            | body | string                         | —      | Repo is the repository the work landed in.                                                                                                   |
| `data[].revision`        | body | string                         | —      | Revision is original, corrected or retracted.                                                                                                |
| `data[].seq`             | body | integer (int64)                | —      | Seq is the append order, which is what GET /v1/patent/proof compares against the cited ideas.                                                |
| `data[].visibility`      | body | string                         | —      | Visibility is private, org or public; forced private on a write.                                                                             |
| `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 implementations 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.getPatentImplementations();
```

**.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_implementations()
```

**.go**

```go
cfg := hanzoai.NewConfiguration()
cfg.AddDefaultHeader("Authorization", "Bearer "+os.Getenv("HANZO_API_KEY"))
client := hanzoai.NewAPIClient(cfg)

resp, _, err := client.PatentAPI.GetPatentImplementations(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_implementations(&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).getPatentImplementations();
```

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/implementations \
  -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)
