> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://humanloop.com/docs/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://humanloop.com/docs/_mcp/server.

> How to create, share and manage you Humanloop API keys. The API keys allow you to access the Humanloop API programmatically in your app.

## Create a new API key

### Go to your Organization's **[API Keys page](https://app.humanloop.com/account/api-keys)**.

### Click the **Create new API key** button.

### Enter a name for your API key.

Choose a name that helps you identify the key's purpose. You can't change the name of an API key after it's created.

### Click **Create**.

![](/docs/_fern-img/61884aa315156ef994b42654019432c272c651a9f5f2f14bf61e4970ae83cd4b.webp)

### Copy the generated API key

Save it in a secure location. You will not be shown the full API key again.

![](/docs/_fern-img/82f97b907fc3d94136ee8ffeee6581320c4c08e41488158669d5cef67be340f3.webp)

## Revoke an API key

You can revoke an existing API key if it is no longer needed.

> **This may break production systems**
>
> When an API key is revoked, future API requests that use this key will be
> rejected. Any systems that are dependent on this key will no longer work.

### Go to API keys page

Go to your Organization's **[API Keys page](https://app.humanloop.com/account/api-keys)**.

### Identify the API key

Find the key you wish to revoke by its name or by the displayed trailing characters.

### Click 'Revoke'

Click the three dots button on the right of its row to open its menu.
Click **Revoke**.
A confirmation dialog will be displayed. Click **Remove**.

![](/docs/_fern-img/d6ccfef33719f24c8433462f76b3745941a670b0475bdc09f67115cc0b84a3f8.webp)