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

# API_KEY_EXPIRED

> API key expired

| HTTP status | Retryable |
| - | - |
| `401` | No |

## What happened

The API key has passed its expiry date.

## How to fix it

Use a current key from the **API** tab in Blujay, or contact [support@blujay.io](mailto:support@blujay.io) if you need a new one.

## Example response

An illustrative example. The `message` wording and the contents of `details` vary; branch on `error.code`.

```json theme={null}
{
  "status": "error",
  "error": {
    "code": "API_KEY_EXPIRED",
    "message": "API key expired",
    "type": "auth",
    "http_status": 401,
    "retryable": false,
    "doc_url": "https://docs.blujay.io/errors/api-key-expired",
    "details": []
  },
  "trace_id": "trc_8f2a1c0e4b7d",
  "timestamp": "2026-10-14T17:30:48.000Z"
}
```

## Still stuck?

Email [support@blujay.io](mailto:support@blujay.io) with the `trace_id` from the error response. See [Errors](/errors.md) for the response format.


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