# API Keys

API keys are used to perform operations programmatically on behalf of a user. For example, you will need an API key to use any Modelmetry SDK.

### View all API keys

1. Go to `Settings`
2. Click on `API Keys`
3. View all api keys. You can filter api keys based on their status (Enabled, Disabled, Revoked).

{% hint style="info" %}
If you have lost your API key; you must revoke it and create a new one again. The API key will not be shown again after it's been created.
{% endhint %}

### Create an API key

1. Go to `Settings`
2. Click on `API Keys`
3. Click on `New`
4. Select the member you want to create the API key for
5. Click `Create`
6. The API key will be displayed to you and it will never be shown to you again. Make sure you save and use it securely.

### Disable an API key

1. Go to `Settings`
2. Click on `API Keys`
3. Open the action menu for the api key you want to disable
4. Click on `Disable` and the API key will be immediately disabled
   1. If you were in a filtered view, the API key will disappear for that filtered view.&#x20;
   2. You can see it by selecting the appropriate filter.
5. You can re-enable the API key by following the same steps and clicking on `Enable`

### Revoke an API key

1. Go to `Settings`
2. Click on `API Keys`
3. Open the action menu for the api key you want to revoke
4. Click on `Revoke` and the API key will be immediately revoked

{% hint style="warning" %}
A revoked API key cannot be re-enabled so you will need to create a new API key.
{% endhint %}
