Skip to main content
POST
/
assistants
/
knowledge-base
Create Knowledge Base
curl --request POST \
  --url https://api.dev.opencorpus.ai/assistants/knowledge-base \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form file='@example-file'
{
  "status": "<string>",
  "data": {},
  "message": "<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

Response

Successful Response

status
string
required
data
Data · object
message
string | null