Get information about an uploaded file
Returns a JSON object with information about an uploaded file (file size, MIME type, metadata, etc).
Query parameters
pub_key
Public key identifying an Uploadcare project your uploads will go to.
file_id
File's unique ID.
Response
File information was retrieved successfully.
uuid
File's unique ID.
file_id
Same as uuid
size
File's size in bytes.
total
Same as size.
done
Same as size.
original_filename
Original file of the uploaded file.
filename
Sanitized original_filename.
mime_type
File’s MIME-type.
image_info
Image metadata.
video_info
Video metadata.
content_info
Information about file content.
metadata
Arbitrary metadata associated with a file.
is_image
True if the uploaded file is an image of a supported file format.
is_stored
True if the file has been marked as stored.
is_ready
True if the file is ready to be fetched from Uploadcare's CDN.
s3_bucket
Name of an AWS S3 bucket where the file is stored. Only available if you associate a Foreign Storage Bucket with your project.