List Files For Folder
List paginated files associated with a data folder.
Path parameters
folder_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
before
File ID cursor for pagination. Returns files that come before this file ID in the specified sort order
after
File ID cursor for pagination. Returns files that come after this file ID in the specified sort order
limit
Maximum number of files to return
order
Sort order for files by creation time. 'asc' for oldest first, 'desc' for newest first
Allowed values:
order_by
Field to sort by
include_content
Whether to include full file content
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.