Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Path Parameters
The public ID of the file to retrieve metadata for the file. Only files created with the V2 API will be returned.
Response
Information about the uploaded file
The ID of the file
This ID is used to reference the file in parse, datasets, and other operations.
"file_12345"
The content type of the file.
This is determined from the multipart form data, or from the file extension.
application/pdf
, application/vnd.openxmlformats-officedocument.wordprocessingml.document
, application/msword
, application/vnd.openxmlformats-officedocument.presentationml.presentation
, application/vnd.apple.keynote
, image/jpeg
, text/plain
, text/html
, application/vnd.openxmlformats-officedocument.spreadsheetml.sheet
, application/vnd.ms-excel.sheet.macroenabled.12
, application/vnd.ms-excel
, text/xml
, text/csv
, image/png
, application/octet-stream
The file size in bytes.
This is determined from the Content-Length
header of the request,
or from the file metadata.
This is not guaranteed to be accurate, as the file may be compressed or encoded in a way that changes its size.
x >= 0
100000
The SHA256 checksum of the file.
This is calculated from the file content and is used to verify the integrity of the file.
"d3242c5c1d369d233fa65183bdd4c486eba109ceb13490ed291384eaffbe743b"
The creation date and time of the file.
This is in RFC 3339 format.
"2023-10-01T12:00:00Z"
The name of the file.
This is taken from the multipart form data or the file metadata.
It is not guaranteed to be unique, and it may not match the original file name.
"example.pdf"
Labels submitted at the time of file upload.
This is a map of label names to their values.
"{\"label1\": \"value1\", \"label2\": \"value2\"}"