Upload File To Source
Upload a file to a data source.
Path parameters
source_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
duplicate_handling
How to handle duplicate filenames
Allowed values:
Response
Successful Response
source_id
The unique identifier of the source associated with the document.
file_name
The name of the file.
original_file_name
The original name of the file as uploaded.
file_path
The path to the file.
file_type
The type of the file (MIME type).
file_size
The size of the file in bytes.
file_creation_date
The creation date of the file.
file_last_modified_date
The last modified date of the file.
processing_status
The current processing status of the file (e.g. pending, parsing, embedding, completed, error).
Allowed values:
error_message
Optional error message if the file failed processing.
total_chunks
Total number of chunks for the file.
chunks_embedded
Number of chunks that have been embedded.
content
Optional full-text content of the file; only populated on demand due to its size.
id
The human-friendly ID of the File
created_at
The creation date of the file.
updated_at
The update date of the file.
is_deleted
Whether this file is deleted or not.