# Get the current key

`GET https://api.llm.buzz/api/v1/key`

The key you send, inference or management, in OpenRouter's current-key shape: its `label`, `limit`, `limit_remaining` and `limit_reset`, its spend over its life (`usage`) and in the current UTC day, week and month, `expires_at`, `is_management_key`, and `is_free_tier`, `true` until your organization has bought credit. A key with a limit has one entry in `budgets`, whose `resets_at` says when its period ends (`null` for a lifetime limit). USD amounts are JSON numbers.

Authentication: any key, inference or management, as `Authorization: Bearer KEY`.

## Responses

- 200: The key, as `{"data": ...}`.
- 401: No `Authorization` header (`missing_authentication`), or the key is unknown, expired, revoked or disabled (`invalid_key`).

## Example (curl)

```bash
curl https://api.llm.buzz/api/v1/key \
  -H "Authorization: Bearer $LLM_BUZZ_KEY"
```

## Example response

```json
{
  "data": {
    "label": "CI key",
    "limit": 5,
    "limit_remaining": 3.75,
    "limit_reset": "monthly",
    "include_byok_in_limit": false,
    "usage": 1.25,
    "usage_daily": 0.5,
    "usage_weekly": 1.25,
    "usage_monthly": 1.25,
    "is_free_tier": false,
    "is_management_key": false,
    "is_provisioning_key": false,
    "expires_at": null,
    "budgets": [
      {
        "scope": "key_limit",
        "limit_usd": 5,
        "spend_usd": 1.25,
        "remaining_usd": 3.75,
        "reset_interval": "monthly",
        "resets_at": "2026-11-01T00:00:00Z"
      }
    ],
    "workspace_id": "default",
    "allowed_data_regions": [
      "global",
      "europe",
      "us"
    ]
  }
}
```
