cURL
curl --request POST \ --url https://api.example.com/v1/knowledge-bases/{knowledge_base_id}/upload_train \ --header 'Content-Type: multipart/form-data' \ --header 'X-API-Key: <api-key>' \ --form 'files=<string>' \ --form files.items='@example-file'
[ "3c90c3cc-0d44-4b50-8888-8dd25736052a" ]
Upload local documents to a knowledge base
Documentation IndexFetch the complete documentation index at: https://docs.noxus.ai/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.noxus.ai/llms.txt
Use this file to discover all available pages before exploring further.
The path prefix where to upload
Successful Response