Files
Upload File
Available for: Chatflow, Workflow, Agent, Chatbot, Legacy Agent, Text Generator apps.
Uploads a file and returns its id for later requests to reference. The file belongs to the uploading end user: only requests carrying the same user can reference it.
Which file types an app actually consumes depends on its file-upload settings; read them from Get App Parameters.
post/files/upload
Response
File uploaded successfully.
Changes
Changed in 1 of the 10 revisions of this API.1
- ○
added the optional property
referenceto the response with the201statusresponse-optional-property-added
- ○