Quick Start
1. Get your API token
Rate Limits
Plan
Per Minute
Per Hour
Per Day
2. Upload a file
import requests
url = "https://api.knowbase.ai/api/v1/files"
headers = {"Authorization": "Bearer YOUR_API_TOKEN"}
files = {"file": ("report.pdf", open("report.pdf", "rb"), "application/pdf")}
response = requests.post(url, headers=headers, files=files)
data = response.json()
print(data)
# {"message": "File uploaded successfully", "file_id": "abc-123-...", "status": "processing"}3. Check file status
4. Chat with your documents
5. Follow-up questions
6. Query your entire library
Full workflow example
Last updated