Upload Documents to DBs
Use Knowledgebases and Folders to upload your documents and files to.
Using documents to Interact with Bot consists of two steps, uploading a document and making sure it's processed before using it.
Upload a file
Uploading a file, again, requires information about the Knowledgebase and path a file should be uploaded to. Both information can be obtained from the steps before.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Body
filesstring Β· binary[]Required
knowledge_basestringRequired
parent_pathany ofOptionalDefault:
rootstringOptional
nullOptional
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
/files/v2Next Steps
Now that you we have a DB with Documents, let's also look at how to Save & Contribute Insights.
Last updated
Was this helpful?