POST
/
knowledgebase

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data
file
file
required

PDF file to upload

chunk_size
integer
default:
512

Chunk size for embedding model

overlapping
integer
default:
128

Number of characters which overalap in between neighboring nodes.

similarity_top_k
integer
default:
15

Number of top similar nodes to return.

Response

200 - application/json
file_name
enum<string>
required

File name of the PDF uploaded

Available options:
created
rag_id
string
required

The ID of the knowledgebase

status
enum<string>
required

Status of the knowledgebase. Initially the status would be processing.

Available options:
processing,
processed