# List stores

URL: https://docs.hanzo.ai/docs/openapi/ai/get-ai-stores

> List the caller's stores.

`GET /v1/ai/stores`

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

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

List the caller's stores.

## Request

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

## Response

| Status | Body | Meaning                                             |
| ------ | ---- | --------------------------------------------------- |
| `200`  |      | Envelope.                                           |
| `401`  | —    | No credential, or one this service does not accept. |
| `403`  | —    | A valid credential that may not do this.            |

`200` body — 65 fields.

| Field                                  | In   | Type               | Always | Description                                             |
| -------------------------------------- | ---- | ------------------ | ------ | ------------------------------------------------------- |
| `data`                                 | body | any                | —      | The operation's own result.                             |
| `data2`                                | body | any                | —      | A second result the operation defines, when it has one. |
| `msg`                                  | body | string             | yes    | Empty on success, the reason on failure.                |
| `status`                               | body | string             | yes    | One of `ok`, `error`.                                   |
| `data[].agentProvider`                 | body | string             | —      |                                                         |
| `data[].avatar`                        | body | string             | —      |                                                         |
| `data[].builtinTools`                  | body | string\[]          | —      |                                                         |
| `data[].chatCount`                     | body | integer            | —      |                                                         |
| `data[].childModelProviders`           | body | string\[]          | —      |                                                         |
| `data[].childStores`                   | body | string\[]          | —      |                                                         |
| `data[].createdTime`                   | body | string             | —      |                                                         |
| `data[].disableFileUpload`             | body | boolean            | —      |                                                         |
| `data[].displayName`                   | body | string             | —      |                                                         |
| `data[].embeddingProvider`             | body | string             | —      |                                                         |
| `data[].enableTtsStreaming`            | body | boolean            | —      |                                                         |
| `data[].exampleQuestions`              | body | ExampleQuestion\[] | —      |                                                         |
| `data[].exampleQuestions[].image`      | body | string             | —      |                                                         |
| `data[].exampleQuestions[].text`       | body | string             | —      |                                                         |
| `data[].exampleQuestions[].title`      | body | string             | —      |                                                         |
| `data[].faviconUrl`                    | body | string             | —      |                                                         |
| `data[].fileTree`                      | body | TreeFile           | —      |                                                         |
| `data[].fileTree.children`             | body | TreeFile\[]        | —      |                                                         |
| `data[].fileTree.createdTime`          | body | string             | —      |                                                         |
| `data[].fileTree.isLeaf`               | body | boolean            | —      |                                                         |
| `data[].fileTree.key`                  | body | string             | —      |                                                         |
| `data[].fileTree.size`                 | body | integer            | —      |                                                         |
| `data[].fileTree.title`                | body | string             | —      |                                                         |
| `data[].fileTree.url`                  | body | string             | —      |                                                         |
| `data[].footerHtml`                    | body | string             | —      |                                                         |
| `data[].forbiddenWords`                | body | string\[]          | —      |                                                         |
| `data[].frequency`                     | body | integer            | —      |                                                         |
| `data[].hideThinking`                  | body | boolean            | —      |                                                         |
| `data[].htmlTitle`                     | body | string             | —      |                                                         |
| `data[].imageProvider`                 | body | string             | —      |                                                         |
| `data[].isDefault`                     | body | boolean            | —      |                                                         |
| `data[].knowledgeCount`                | body | integer            | —      |                                                         |
| `data[].limitMinutes`                  | body | integer            | —      |                                                         |
| `data[].logoUrl`                       | body | string             | —      |                                                         |
| `data[].memoryLimit`                   | body | integer            | —      |                                                         |
| `data[].messageCount`                  | body | integer            | —      |                                                         |
| `data[].modelProvider`                 | body | string             | —      |                                                         |
| `data[].name`                          | body | string             | —      |                                                         |
| `data[].navItems`                      | body | string\[]          | —      |                                                         |
| `data[].owner`                         | body | string             | —      |                                                         |
| `data[].prompt`                        | body | string             | —      |                                                         |
| `data[].propertiesMap`                 | body | object             | —      |                                                         |
| `data[].propertiesMap.*`               | body | Properties         | —      |                                                         |
| `data[].propertiesMap.*.collectedTime` | body | string             | —      |                                                         |
| `data[].propertiesMap.*.subject`       | body | string             | —      |                                                         |
| `data[].searchProvider`                | body | string             | —      |                                                         |
| `data[].showAutoRead`                  | body | boolean            | —      |                                                         |
| `data[].speechToTextProvider`          | body | string             | —      |                                                         |
| `data[].splitProvider`                 | body | string             | —      |                                                         |
| `data[].state`                         | body | string             | —      |                                                         |
| `data[].storageProvider`               | body | string             | —      |                                                         |
| `data[].storageSubpath`                | body | string             | —      |                                                         |
| `data[].suggestionCount`               | body | integer            | —      |                                                         |
| `data[].textToSpeechProvider`          | body | string             | —      |                                                         |
| `data[].themeColor`                    | body | string             | —      |                                                         |
| `data[].title`                         | body | string             | —      |                                                         |
| `data[].vectorStoreId`                 | body | string             | —      |                                                         |
| `data[].vectorStores`                  | body | string\[]          | —      |                                                         |
| `data[].welcome`                       | body | string             | —      |                                                         |
| `data[].welcomeText`                   | body | string             | —      |                                                         |
| `data[].welcomeTitle`                  | body | string             | —      |                                                         |

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

## Examples

**CLI**

```bash
hanzo ai stores list
```

**SDK**

**.ts**

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

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

**.py**

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

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

**.go**

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

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

**.rs**

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

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

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

**.java**

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

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

var result = new AiApi(client).getAiStores();
```

**HTTP**

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

**MCP**

MCP declares no tool for **ai** — `tools/list` on `https://api.hanzo.ai/v1/mcp` names the products it does reach. Use HTTP or an SDK.

---

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