πŸ“–Upload Knowledge Bank

API to upload Knowledge bank for a user.

Upload a new Document.

https://beta.convai.com/character/knowledge-bank/upload

Beta Endpoint

Headers

Name
Value

Content-Type

application/json

CONVAI-API-KEY

dummy-api-key

Body

Name
Type
Description

file

upload(file)

File to be uploaded

Response

{
  "file_name": "dummy_name",
  "file_size": "lengtth of file in byte",
  "id": "document_id",
  "is_available": true,
  "status": "status of file",
  "timestamp": "1898-10-09T20:35:53.0Z"
}

Upload Knowledge Bank for a character. Supports only Pdf, CSV and txt format

post
Authorizations
CONVAI-API-KEYstringRequired
Header parameters
CONVAI-API-KEYstring Β· uuidRequired
Body
filestring Β· binaryOptional
Responses
post
/knowledge-bank/upload

Last updated