POST
/
v4
/
knowledge-bases
/
{knowledge_base_id}
/
uploads

Authorizations

x-api-key
string
headerrequired

Path Parameters

knowledge_base_id
string
required

Body

application/json
data_source_config
object
required

Configuration for the data source which describes where to find the data.

data_source_auth_config
object

Configuration for the data source which describes how to authenticate to the data source.

chunking_strategy_config
object

Configuration for the chunking strategy which describes how to chunk the data.

force_reupload
boolean
default: false

Force reingest, regardless the change of the source file.

Response

200 - application/json
upload_id
string
required

ID of the created knowledge base upload job.