---
title: "Read documented API limits"
description: "PubNio API limits.get: read documented API limits. Request fields, examples in five clients, errors, and idempotency."
---

> Documentation Index
> Fetch the complete documentation index at: https://pubnio.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# Read documented API limits

Read documented API limits with [`GET /api/v1/limits`](https://pubnio.com/api/v1/docs#tag/limits/GET/api/v1/limits). Requires an API key with the `read` scope or a signed-in user.

## Request

Returns the documented request, publish, media, wait, and idempotency budgets. Rate headers on API responses report the same static policy until per-credential metering lands.

## Response

- HTTP 200: `ApiLimits` with `targetsPerRequest`, `draftTextCharacters`, `idempotencyTtlSeconds`, `wait`, `media`, `rateLimits`, `automaticRetry`, `duplicateWindowSeconds`.

The [OpenAPI document](https://pubnio.com/api/v1/openapi) has each field's type.

## Examples

### TypeScript

```ts
const limits = await workspace.limits.get();
```

### Python

```python
limits = client.limits.get()
```

### cURL

```sh
curl "https://pubnio.com/api/v1/limits" \
  -H "Authorization: Bearer $PUBNIO_API_KEY"
```

### CLI

```sh
pnio limits get
```

### MCP execute

```js
async () => {
  const response = await codemode.request({
    method: "GET",
    path: "/api/v1/limits",
  });
  return response.data;
};
```

## Errors

It declares no problem of its own.

It declares the problems [most operations](https://pubnio.com/docs/reference/#shared-problems) declare.

## Idempotency

None needed: a read is safe to retry.

## Limits

- Field lengths and ranges are in the [OpenAPI document](https://pubnio.com/api/v1/openapi).

## Related

- [Limits operations](https://pubnio.com/docs/reference/#limits)
- [Platform capabilities](https://pubnio.com/docs/capabilities/)
- [Rate limits and plan limits](https://pubnio.com/docs/concepts/rate-limits/)

Source: https://pubnio.com/docs/reference/limits-get/index.mdx
