π»Authentication
How to authorise through the API
VecDB uses API keys to allow access to the API. You can sign up for an api key at https://vecdb.com or you can find your API keys on your Qualitative Cloud dashboard, which you can access by logging in or signing up at https://relevance.ai.
To authorize, provide your project name and API key to the Authorization header in the format of {project}:{api_key}:
import requests
response = requests.post(
url=url,
header={"Authorization": "project:api_key"},
json={
...
})
response.json()
Be sure to keep your API key somewhere safe either in some sort of secure note storage.
Last updated
Was this helpful?