# List limits

URL: https://docs.hanzo.ai/docs/openapi/world/get-world-limits

> Echoes a World plan's rate limits, alert quota and model-API grant, read straight from the live @hanzo/plans catalog, so agents and dashboards configure themselves against the catalog instead of hardcoding tier numbers.

`GET /v1/world/limits`

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

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

Echoes a World plan's rate limits, alert quota and model-API grant, read
straight from the live @hanzo/plans catalog, so agents and dashboards configure
themselves against the catalog instead of hardcoding tier numbers.

An empty or unknown plan resolves world-free, and a catalog failure serves that
same free floor rather than erroring — so this always answers 200, and it can only
ever under-grant. It reports the contract; it does not enforce it.

## Request

1 field.

| Field  | In    | Type   | Required | Description                                                                 |
| ------ | ----- | ------ | -------- | --------------------------------------------------------------------------- |
| `plan` | query | string | —        | Plan is a World plan id from the live @hanzo/plans catalog, e.g. world-pro. |

## Response

| Status    | Body             | Meaning |
| --------- | ---------------- | ------- |
| `200`     | world.limitsView | ok      |
| `default` | problem-details  | refused |

`200` body — 7 fields.

| Field                 | In   | Type              | Always | Description                                                                                      |
| --------------------- | ---- | ----------------- | ------ | ------------------------------------------------------------------------------------------------ |
| `limits`              | body | world.limitsBlock | —      |                                                                                                  |
| `limits.apiRateLimit` | body | integer (int64)   | —      | APIRateLimit is requests per minute allowed against the REST /v1/world surface.                  |
| `limits.maxAlerts`    | body | integer (int64)   | —      | MaxAlerts is how many saved OSINT alert rules the plan allows.                                   |
| `limits.mcpRateLimit` | body | integer (int64)   | —      | MCPRateLimit is requests per minute allowed against the MCP surface.                             |
| `limits.modelApi`     | body | boolean           | —      | ModelAPI is whether the plan reaches the World model endpoint and the SSE stream.                |
| `plan`                | body | string            | —      | Plan echoes the plan id the limits were resolved for, after the empty-means- world-free default. |
| `unit`                | body | string            | —      | Unit names what the two rate numbers are counted in: requests/minute.                            |

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

## Examples

**CLI**

```bash
hanzo world limits
```

**SDK**

**.ts**

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

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

**.py**

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

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

**.go**

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

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

**.rs**

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

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

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

**.java**

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

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

var result = new WorldApi(client).getWorldLimits();
```

**HTTP**

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

**MCP**

MCP reaches **world** through the `world` tool, which names its 5 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_worlds"
         }
       }
     }'
```

---

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