# List catalog

URL: https://docs.hanzo.ai/docs/openapi/prompt/get-prompt-catalog

> Returns the read-only starter prompt library shipped with the binary — reference content every tenant sees the same, NOT the caller's own prompts and never mixed into them.

`GET /v1/prompt/catalog`

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

|               |                                          |
| ------------- | ---------------------------------------- |
| **Address**   | `https://api.hanzo.ai/v1/prompt/catalog` |
| **Method**    | `GET`                                    |
| **Operation** | `get_prompt_catalog`                     |
| **Auth**      | `Authorization: Bearer $HANZO_API_KEY`   |

Returns the read-only starter prompt library shipped with the binary —
reference content every tenant sees the same, NOT the caller's own prompts and
never mixed into them. An org's library stays honestly empty until someone
explicitly imports a starter, which is an ordinary POST /v1/prompt. Entries that
would fail the create guards are dropped, so everything offered here can actually
be imported.

## Request

`GET /v1/prompt/catalog` takes no parameters and no body — the credential is the whole request.

## Response

| Status    | Body               | Meaning |
| --------- | ------------------ | ------- |
| `200`     | prompt.catalogList | ok      |
| `default` | problem-details    | refused |

`200` body — 6 fields.

| Field           | In   | Type                   | Always | Description                                                                           |
| --------------- | ---- | ---------------------- | ------ | ------------------------------------------------------------------------------------- |
| `data`          | body | prompt.CatalogEntry\[] | —      | Data is every starter prompt, each importable as-is with POST /v1/prompt.             |
| `data[].labels` | body | string\[]              | —      | Labels is the starter's second suggested taxonomy, same treatment as Tags.            |
| `data[].name`   | body | string                 | —      | Name is the starter's suggested handle.                                               |
| `data[].prompt` | body | string                 | —      | Prompt is the starter's full template body, ready to POST as-is.                      |
| `data[].tags`   | body | string\[]              | —      | Tags is the starter's suggested taxonomy, carried through unchanged if you import it. |
| `data[].type`   | body | string                 | —      | Type labels the template's kind, defaulted to "text" for entries that declare none.   |

Failure carries the platform error shape — see [Errors](https://docs.hanzo.ai/docs/errors).

## Examples

**CLI**

```bash
hanzo prompt catalog
```

**SDK**

**.ts**

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

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

**.py**

```python
from hanzoai.cloud import ApiClient, Configuration
from hanzoai.cloud.api import PromptApi

client = ApiClient(Configuration(access_token=os.environ["HANZO_API_KEY"]))
result = PromptApi(client).get_prompt_catalog()
```

**.go**

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

resp, _, err := client.PromptAPI.GetPromptCatalog(context.Background()).Execute()
if err != nil {
	return err
}
```

**.rs**

```rust
use hanzo_client::apis::{configuration::Configuration, prompt_api};

let mut cfg = Configuration::new();
cfg.bearer_access_token = std::env::var("HANZO_API_KEY").ok();

let result = prompt_api::get_prompt_catalog(&cfg, Default::default()).await?;
```

**.java**

```java
import ai.hanzo.cloud.ApiClient;
import ai.hanzo.cloud.api.PromptApi;

ApiClient client = new ApiClient();
client.setBearerToken(System.getenv("HANZO_API_KEY"));

var result = new PromptApi(client).getPromptCatalog();
```

**HTTP**

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

**MCP**

Tool `prompt`, op `get_prompt_catalog` — POST the JSON-RPC envelope to `https://api.hanzo.ai/v1/mcp`.

```bash
curl -X POST https://api.hanzo.ai/v1/mcp \
  -H "Authorization: Bearer $HANZO_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
       "jsonrpc": "2.0",
       "id": 1,
       "method": "tools/call",
       "params": {
         "name": "prompt",
         "arguments": {
           "op": "get_prompt_catalog",
           "input": {}
         }
       }
     }'
```

---

[Prompt API](https://docs.hanzo.ai/docs/openapi/prompt) · [All Hanzo APIs](https://docs.hanzo.ai/docs/openapi) · [Interactive reference](https://docs.hanzo.ai/docs/openapi/reference)
