Skip to main content
POST
/
knowledge-bases
Create Knowledge Base From Pdf
curl --request POST \
  --url https://api.dev.kathan.tech/knowledge-bases \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file' \
  --form 'name=<string>'
{}

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
name
string | null

Response

Successful Response

The response is of type Response Create Knowledge Base From Pdf Knowledge Bases Post · object.