# List rate

URL: https://docs.hanzo.ai/docs/openapi/ai/airatelimit

> Reads the per-minute limit as it governs the organization the caller acts in: the model requests one person may make in a minute on every surface — the API, chat, coding runs, bots and MCP — the platform's default, which is the most the organization may set, and the organization's own setting.

`GET /v1/ai/limits/rate`

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

Reads the per-minute limit as it governs the organization the caller acts in: the
model requests one person may make in a minute on every surface — the API, chat,
coding runs, bots and MCP — the platform's default, which is the most the
organization may set, and the organization's own setting. Any member may read it.

## Request

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

## Response

| Status    | Body            | Meaning |
| --------- | --------------- | ------- |
| `200`     | aiRate          | ok      |
| `default` | problem-details | refused |

`200` body — 4 fields.

| Field     | In   | Type            | Always | Description                                                                                                                                    |
| --------- | ---- | --------------- | ------ | ---------------------------------------------------------------------------------------------------------------------------------------------- |
| `default` | body | integer (int64) | —      | Default is the platform's requests a minute, the most the organization may set.                                                                |
| `org`     | body | string          | —      | Org is the organization.                                                                                                                       |
| `own`     | body | integer (int64) | —      | Own is the organization's own setting, 0 when it holds its people to the default.                                                              |
| `rpm`     | body | integer (int64) | —      | Rpm is the model requests a minute one person may make acting in it now: its own setting where it set less than the default, else the default. |

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

## Examples

**CLI**

```bash
hanzo ai limits rate get
```

**SDK**

**.ts**

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

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

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

**.go**

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

resp, _, err := client.AiAPI.AiRateLimit(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::ai_rate_limit(&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).aiRateLimit();
```

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/ai/limits/rate \
  -H "Authorization: Bearer $HANZO_API_KEY"
```

**MCP**

Tool `ai`, op `aiRateLimit` — 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": "ai",
         "arguments": {
           "op": "aiRateLimit",
           "input": {}
         }
       }
     }'
```

---

[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)
