Skip to main content
POST
Python

Authorizations

x-api-key
string
header
required

Headers

x-selected-account-id
string | null

Path Parameters

knowledge_base_id
string
required

Body

multipart/form-data
files
string[]
required
data_source_config
string
required
chunking_strategy_config
string
required
force_reupload
boolean
required
tagging_information
string
custom_metadata
string

JSON-encoded dictionary of custom metadata to attach to all chunks generated from the uploaded files. These metadata fields become queryable via metadata_filters on the chunks query endpoint.

Response

Successful Response

upload_ids
string[]
required

List of upload IDs that have been kicked off by the upload API