> For the complete documentation index, see [llms.txt](https://learn.getvectorai.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://learn.getvectorai.com/vector-search/managing-vector-ai/how-to-request-a-read-api-key.md).

# How to request a read API key

If you are looking to provide a **read-only** API key, then Vector AI has an endpoint to allow users to simply get one.&#x20;

You simply need the following endpoint: `/project/request_read_api_key`&#x20;

{% tabs %}
{% tab title="Python" %}

```python
import requests 
response = requests.post("https://vectorai-development-api.azurewebsites.net/project/request_read_api_key",
    json={
        "username": "string",
        "api_key": "string",
        "read_username": "string"
    })
response.json()
```

{% endtab %}

{% tab title="JavaScript" %}

```javascript
let request = await fetch("https://vectorai-development-api.azurewebsites.net/project/request_read_api_key", {
      "method": "POST",
      "headers": {
            "Content-Type": "application/json"
      },
      "body": JSON.stringify({
        "username": "string",
        "api_key": "string",
        "read_username": "string"
      })
})

let json = await request.json()
```

{% endtab %}
{% endtabs %}
