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

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

Path parameters

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

Body (multipart)

files
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

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