Skip to main content
POST
Upload a Knowledge Source File
Send the file as multipart form data, then pass the blobPath to Create a Knowledge Source.

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Example: "Authorization: Bearer {token}"

Body

multipart/form-data

The file to index. Upload it first, then send the blobPath it returns when you create the knowledge source.

file
file

The file to index, such as a PDF or text document.

Response

OK

Response from file upload containing the blob path.

blobPath
string | null

The path of the uploaded file. Send it as blobPath when you create the knowledge source.

Last modified on July 28, 2026