Skip to main content
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

string
required
Project API key for this organization and project. Format: bot_live_…

Path parameters

string
required
Organization ID. Must match the API key.
string
required
Project ID. Must match the API key.

Body (multipart)

file
required
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

Unauthorized
Missing, invalid, or revoked API key.
Forbidden
API key is not authorized for this organization or project, or upload quota exceeded.