---
title: "Key info · Function API"
description: "GET /api/v1/key: a key's spend, spending limit, permissions, expiry and rate limit."
canonical: https://functionvoice.ai/docs/api/key
---

# Key info

`GET /api/v1/key`

The calling key's name, what it has spent in dollars (in all, today, this week and this month, in UTC), its spending limit and what is left of it, its permissions, expiry and rate limit.

```bash tab="curl"
curl https://functionvoice.ai/api/v1/key \
  -H "Authorization: Bearer $FUNCTION_API_KEY"
```

```json title="Response"
{
  "data": {
    "label": "Production",
    "usage": 4.21,
    "usage_daily": 0.12,
    "usage_weekly": 0.95,
    "usage_monthly": 4.21,
    "limit": 25,
    "limit_remaining": 20.79,
    "limit_reset": "monthly",
    "expires_at": null,
    "permissions": [
      "dictate",
      "transcribe"
    ],
    "is_free_tier": false,
    "is_management_key": false,
    "rate_limit": {
      "requests": 120,
      "interval": "1m"
    }
  }
}
```

| Field | Type | Description |
| --- | --- | --- |
| `data` | object |  |
| `data.label` | string | The key's name. |
| `data.usage` | number | Dollars spent, in all. |
| `data.usage_daily` | number | Dollars spent today (UTC). |
| `data.usage_weekly` | number | Dollars spent this week (UTC, from Monday). |
| `data.usage_monthly` | number | Dollars spent this month (UTC). |
| `data.limit` | number or null | The spending limit in dollars, or null for none. |
| `data.limit_remaining` | number or null | What is left of it. |
| `data.limit_reset` | string or null | When the limit starts over. Null for a lifetime limit, or none. |
| `data.expires_at` | string or null | When the key stops working, or null. |
| `data.permissions` | array of strings | The models it may use. |
| `data.is_free_tier` | boolean | Always false. |
| `data.is_management_key` | boolean | Always false. |
| `data.rate_limit` | object | `{"requests": 120, "interval": "1m"}`. |
