> ## Documentation Index
> Fetch the complete documentation index at: https://docs.hyperleap.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# API Keys

> How to obtain and use API keys for authentication

API keys allow you to access Hyperleap AI's AI features programmatically. With a single key, you can run prompts, create conversations, and use personas directly in your applications—making it simple to add powerful AI capabilities to your products.

## Obtaining an API Key

You can obtain your API key from [Studio](https://studio.hyperleapai.com) by following these steps:

<Steps>
  <Step title="Go to API Console">
    Go to **Manage** > [**API Keys**](https://studio.hyperleapai.com/api-keys)

    <Frame>
      <img src="https://mintcdn.com/hyperleap/QxFG4NXBbALtF1BY/images/create-api-key.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=5c4df214342fb241ddb0f3c299f437f3" alt="Create API Key on studio" width="1468" height="249" data-path="images/create-api-key.png" />
    </Frame>
  </Step>

  <Step title="Create API Key">
    Configure the label and click on the "Create" button.

    <Frame>
      <img src="https://mintcdn.com/hyperleap/QxFG4NXBbALtF1BY/images/configure-create.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=caa87b9ce100c863c6d48624b908e465" alt="configure label and create api key" width="1468" height="249" data-path="images/configure-create.png" />
    </Frame>
  </Step>

  <Step title="Copy API Key">
    Click on the **Continue** button to create the key. Make sure to copy your API key and store it in a safe place. You won't be able to see it again.

    <Frame>
      <img src="https://mintcdn.com/hyperleap/QxFG4NXBbALtF1BY/images/copy-api-key.png?fit=max&auto=format&n=QxFG4NXBbALtF1BY&q=85&s=f477aab331161a0224123efa56e5cf1b" alt="API Key created on Hyperleap AI" width="1368" height="583" data-path="images/copy-api-key.png" />
    </Frame>
  </Step>
</Steps>

## Using Your API Key

To authenticate API requests, include your API key in the `x-hl-api-key` header:

```
x-hl-api-key: <your_api_key>
```

Example request using cURL:

```bash theme={null}
curl -X GET "https://api.hyperleapai.com/conversations" \
  -H "x-hl-api-key: your_api_key_here"
```
