Skip to main content
POST
Add Document

Authorizations

Authorization
string
header
required

The access_token returned by POST /apikeys/token for an API key's secret.

Query Parameters

Body

multipart/form-data
knowledgebase_id
string
required

Knowledge base id

datasource_id
string
required

ID of the datasource to upload the document to

file
file
required

Document file to upload

Response

Successful Response