List Source Files
List paginated files associated with a data source.
Path parameters
source_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
limit
Number of files to return
after
Pagination cursor to fetch the next set of results
include_content
Whether to include full file content
check_status_updates
Whether to check and update file processing status (from the vector db service). If False, will not fetch and update the status, which may lead to performance gains.
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.