---
title: "overlane api-key limits"
description: "Show the team's request limit from the plan data and what is left this minute"
---

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

# overlane api-key limits

{/* Generated by apps/docs/scripts/generate.mjs (CLI pages from the command registry in packages/cli). Do not edit; run `pnpm --filter @overlane/docs gen`. */}

Prints the per-minute request limit that applies to the team's API keys (from the plan data file), the calls left in the current minute and when it resets. A call over the limit gets 429 with Retry-After and the RateLimit-* headers.

## Usage

```sh
overlane api-key limits [--service URL] [--team TENANT_ID]
```

## Flags

| Flag | Type | Required | Default | Description |
| --- | --- | --- | --- | --- |
| `--service` | string | no |  | The service address (default: OVERLANE_SERVICE_URL, then the project's binding, then the hosted service) |
| `--team` | string | no |  | The team (tenant) to act on (default: the one your token belongs to) |

## Examples

```sh
overlane api-key limits
overlane api-key limits --json
```

## Behavior

- Effect: `read` (changes nothing).
- Needs credentials: yes. Uses the network: yes.
- Supports `--dry-run`: no. Accepts `--force`: no.
- Machine-readable description: `overlane schema api-key limits`.

## Result

With `--json` (the default when stdout is not a terminal) the command prints this JSON Schema's shape on stdout.

```json
{
  "type": "object",
  "properties": {
    "tenantId": {
      "type": "string"
    },
    "plan": {
      "type": "string"
    },
    "limitPerMinute": {
      "type": "number"
    },
    "remaining": {
      "type": "number"
    },
    "resetsInSeconds": {
      "type": "number"
    },
    "next": {
      "type": "string"
    }
  },
  "required": [
    "tenantId",
    "plan",
    "limitPerMinute",
    "remaining",
    "resetsInSeconds",
    "next"
  ],
  "additionalProperties": false
}
```

See [exit codes](/cli/#exit-codes) for the status the process returns.

Source: https://docs.overlane.app/cli/api-key-limits/index.mdx
