Quick Start
Last updated
Last updated
Your API requests are authenticated using the API access-token
. Any request that doesn't include an API key will return an error.
To obtain you API key, log into your account on app.knowbase.ai. Click on Account -> Manage Account and click Generate API key from which you will be able to copy your API Key.
You can also generate an API key using /api/v1/token
endpoint at any time.
Before being able to use this endpoint you have to previously log in to web app and have paid subscribtion plan.
The API is limited to 10 requests per minute to ensure fair usage and system stability.
To make your first request, send an authenticated request to the /api/v1/upload
endpoint with your file. This will create a file ID file_id
for your file with which you can chat.
POST
https://api.knowbase.ai/api/v1/upload
access-token*
string
Required. Your API access token
file*
multipart/form-data
The file to be uploaded