File_Upload

struct

Tracks the lifecycle of a file uploaded to Notion via the API.

Property Type Description
complete_url String URL to complete a multi-part upload.
content_length Integer Size of the file in bytes.
content_type String MIME type of the file.
created_by File_Upload_Creator Creator of the upload.
created_time DateTime When the upload was created.
expiry_time DateTime When the upload expires if not attached.
file_import_result File_Import_Result Result of an external_url import.
filename String Name of the file.
id String ID of the file upload.
in_trash Boolean Whether the upload is in the trash.
last_edited_time DateTime When the upload was last edited.
number_of_parts File_Upload_Parts Part progress for multi-part uploads.
object String Always `file_upload`.
status String `pending`, `uploaded`, `expired` or `failed`.
upload_url String URL to send the file contents to.
part of the Apioo-Project