Sources
Upload files
Upload knowledge-base files to a project
POST
Uploads one or more files as knowledge-base sources. Returns
201 Created.
This endpoint expects multipart/form-data with one or more files parts.
Authentication
Project API key for this organization and project. Format:
bot_live_…Path parameters
Organization ID. Must match the API key.
Project ID. Must match the API key.
Body (multipart)
One or more files to upload. Repeat the
files field for multiple uploads.Response
Success message confirming indexing was started.data is typically null.
Errors
Missing, invalid, or revoked API key.
API key is not authorized for this organization or project, or upload quota exceeded.

