Skip to main content
POST
Upload Pipeline File

Authorizations

Authorization
string
header
required

Every request authenticates with an API key: Authorization: Bearer {API_KEY}. App endpoints take an app API key; knowledge endpoints take a knowledge base API key (Get Started).

Keep keys server-side; never embed them in client code. Requests with a missing or invalid key fail with HTTP 401 (unauthorized).

Body

multipart/form-data
file
file
required

The file to upload, as one multipart/form-data part. The filename must not contain / or \.

Any extension is accepted unless it is on the deployment's security blacklist (UPLOAD_FILE_EXTENSION_BLACKLIST, empty by default).

Default size limits per category: images 5 MB (10 MB on Docker Compose deployments), audio 50 MB, video 100 MB, other files 15 MB. Your platform administrator can change them with the UPLOAD_*_FILE_SIZE_LIMIT environment variables.

Response

File uploaded successfully.

id
string

Unique identifier of the uploaded file.

name
string

Original file name.

size
integer

File size in bytes.

extension
string

File extension.

mime_type
string

MIME type of the file.

created_by
string

ID of the user who uploaded the file.

created_at
string

Upload timestamp in ISO 8601 format.