Upload a file for use in a knowledge pipeline. Accepts a single file via multipart/form-data.
Documentation Index
Fetch the complete documentation index at: https://docs.dify.ai/llms.txt
Use this file to discover all available pages before exploring further.
API Key authentication. For all API requests, include your API Key in the Authorization HTTP Header, prefixed with Bearer. Example: Authorization: Bearer {API_KEY}. Strongly recommend storing your API Key on the server-side, not shared or stored on the client-side, to avoid possible API-Key leakage that can lead to serious consequences.
The file to upload.
File uploaded successfully.
Unique identifier of the uploaded file.
Original file name.
File size in bytes.
File extension.
MIME type of the file. May be null if the upload did not include one.
ID of the user who uploaded the file.
Upload timestamp in ISO 8601 format. May be null while the record is being created.