Get File Metadata
Retrieve metadata for a specific file by its ID.
Path parameters
source_id
file_id
Headers
Authorization
Header authentication of the form Bearer <token>
Query parameters
include_content
Whether to include full file content
Response
Successful Response
source_id
The unique identifier of the source associated with the document.
id
The human-friendly ID of the File
file_name
The name of the file.
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.
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.
content
Optional full-text content of the file; only populated on demand due to its size.