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

# key_limit_reached

> API key limit reached. HTTP 409, not retryable.

**HTTP 409: API key limit reached.** Retrying the same request gives the same error. Errors never cost API credits.

A workspace has at most 25 active API keys. A rotated key in its 24-hour grace period does not count.

**What to do:** Revoke a key you no longer use; a workspace has at most 25 active keys.

```json Response theme={null}
{
  "type": "https://docs.alura.io/errors/key_limit_reached",
  "title": "API key limit reached",
  "status": 409,
  "code": "key_limit_reached",
  "detail": "API key limit reached",
  "suggestion": "Revoke a key you no longer use; a workspace has at most 25 active keys.",
  "retryable": false,
  "request_id": "req_01JQ5W3H8M2N4P6R8T0V2X4Z6B"
}
```

The response is `application/problem+json` (RFC 9457) and has a `Request-Id` header with the same `request_id`. See [all errors](/api-reference/errors).


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.