Files

Upload File

Available for: Chatflow, Workflow, New Agent, Chatbot, Agent, Text Generator apps.

Upload a file for use when sending messages, enabling multimodal understanding of images, documents, audio, and video. Uploaded files are for use by the current end-user only.

post/files/upload

Response

File uploaded successfully.

idstring uuid

Unique file ID.

namestring

File name.

sizeinteger

File size in bytes.

extensionstring nullable

File extension.

mime_typestring nullable

MIME type of the file.

created_bystring uuid nullable

ID of the user who uploaded the file.

created_atinteger

Upload timestamp (Unix epoch seconds).

preview_urlstring nullable

Preview URL for the file.

source_urlstring

Signed URL for downloading the file.

original_urlstring nullable

Original URL of the file.

user_idstring uuid nullable

Unused; always null.

tenant_idstring uuid nullable

ID of the associated tenant.

conversation_idstring uuid nullable

ID of the associated conversation.

file_keystring nullable

Unused; always null.

Changes