Skip to main content
GET
Requires version 2.0.0 or later of the Archetype platform.

Overview

This endpoint returns the metadata record of one file, looked up by the file’s file_uid (a value starting with fil_) instead of by its filename. It returns the same record as Get File Metadata. A file’s file_uid never refers to any other file. If you delete a file and upload a new one under the same filename, the new file gets a new file_uid, so a stored file_uid can’t accidentally point at the replacement. Files you can’t see, files that are being deleted or are already deleted, and values that aren’t a file_uid all return an HTTP 404 error.

Path Parameters

string
required
The file’s file_uid (fil_...), as returned by the upload endpoints and in every file metadata record.

Response

Returns the file’s metadata record. See Get File Metadata for the full description of each field.
string
The filename the file was uploaded under
string
The file’s unique identifier (fil_...)
string
MIME type of the file (e.g. image/png, text/csv)
integer
Size of the file in bytes
string
The date and time at which the file was created, in RFC 3339 format
string
Lifecycle status of the file
object
Type-specific attributes for the file