Quick Start
Get your API keys
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 Swagger /api/v1/token
endpoint at any time.
Before being able to use this endpoint you have to previously log in to knowbase.ai web app and have paid subscribtion plan.
Rate Limit
The API is limited to 10 requests per minute to ensure fair usage and system stability.
Make your first request
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.
Upload the file
To get the `file_id` for the uploaded document
POST
https://api.knowbase.ai/api/v1/upload
Headers
access-token*
string
Required. Your API access token
Request Body
file*
multipart/form-data
The file to be uploaded
Example usage
Last updated