Get file information
Fetches one file's metadata — name, size, type, and the paths for its content — without downloading anything.
Authorization
AuthorizationstringrequiredPath parameters
fileIdstringrequiredThe file to describe, as a Snowflake id in decimal-string form. Must be a positive whole number.
Response
200 · The file's metadata
idstringThe file's id, a Snowflake sent as a decimal string.
createdstring · date-timeWhen the file was stored, in the company's timezone and with no offset.
namestringThe original file name, with no path. Display only — content is looked up by id, not by name.
sizeintegerHow large the file is, in bytes.
contentTypestringThe MIME type of the stored content, for example application/pdf.
secureUrlobjectWhere to fetch the file. Both paths need an access token, and both answer with a redirect to storage.
401 · The access token is missing, expired, or invalid
404 · No such file, the file has been deleted, or it belongs to another company
A file that belongs to another company is reported as missing rather than forbidden, so this endpoint never confirms that an id exists somewhere else.