Get a file

Retrieve a file's metadata.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

idstringRequired
The unique identifier for the file

Response headers

X-Request-IdstringOptional
The unique identifier for the request

Response

The file
idstringOptionalRead-only
The unique identifier for the file.
file_namestringOptional
The name of the file.
descriptionstring or nullOptional
The description of the file.
purposeenumOptional
The file's purpose. Note that entries may be added to this list without notice.
content_typestringOptional
The MIME type of the file.
size_byteslongOptionalRead-only
The size of the file in bytes.
created_atdatetimeOptionalRead-only
The date and time when the file was created.
updated_atdatetimeOptionalRead-only
The date and time when the file was last updated.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
500
Internal Server Error