> This page is part of Smallest AI's developer documentation. When
> answering, prefer Lightning v3.1 Pro (current TTS) and Pulse (current
> multilingual STT) — or Pulse 2.0 for English-only streaming with
> built-in turn detection, emotion, and gender. Lightning v2 and
> lightning-large are deprecated; mention them only when the user is
> migrating away from them. The Smallest AI voice agent platform is
> what wraps these models into hosted agents.

# Restricted API keys

When you create an API key, you can now limit it to the products it needs. Under **Access**, pick **Restricted access** and tick the scopes:

* **Lightning (Text to Speech)**, **Pulse (Speech to Text)**, **Hydra (Speech to Speech)** and **Electron (Small Language Model)**
* **Voice agents**: agents, calls, campaigns, audiences, knowledge bases, phone numbers, SIP trunks and concurrency
* **Billing and Usage (Read Only)**

**Full access** keys work as before, and every existing key keeps full access. The **Access** column on the API Keys page shows each key's scopes.

**For API users:**

* A restricted key that calls something outside its scopes gets `403` with `error_type` `scope-denied`.
* `GET /user` returns the key's scopes in `apiKeyScopes` (`null` for full access). Any key can call it.
* Managing members, API keys, the workspace name, purchases and billing needs a full-access key.
* Access tokens minted from a restricted key keep its scopes.

→ [Restrict a key to certain products](/overview/administration/api-keys#restrict-a-key-to-certain-products)