Check file information
HEAD /files/{id}
Retrieve file metadata headers without downloading the file content. Supports conditional requests and provides caching information.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ”Unique identifier of the file to check
Header Parameters
Section titled “Header Parameters ”Only return the file if the current ETag matches one of the values provided
Only return the file if the current ETag does not match any of the values provided
Date in RFC 2822 format
Example
Tue, 12 Aug 2025 12:03:50 GMTOnly return the file if it has been modified after the given date
Date in RFC 2822 format
Example
Tue, 12 Aug 2025 12:03:50 GMTOnly return the file if it has not been modified after the given date
Query Parameters
Section titled “Query Parameters ”Image quality (1-100). Only applies to JPEG, WebP, PNG and HEIC files
Maximum height to resize image to while maintaining aspect ratio. Only applies to image files
Maximum width to resize image to while maintaining aspect ratio. Only applies to image files
Blur the image using this sigma value. Only applies to image files
Output format for image files. Use ‘auto’ for content negotiation based on Accept header
Example
sameOutput format for image files. Use ‘auto’ for content negotiation based on Accept header
Responses
Section titled “ Responses ”File information headers retrieved successfully
Headers
Section titled “Headers ”Directives for caching mechanisms
Size of the file in bytes
Entity tag for cache validation
Indicates if the content should be displayed inline or as an attachment
Date in RFC 2822 format
Example
Tue, 12 Aug 2025 12:03:50 GMTDate and time the file was last modified
Always set to bytes. https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Accept-Ranges
Cache key for surrogate caching
Cache control directives for surrogate caching
File not modified since the condition specified in If-Modified-Since or If-None-Match headers
Headers
Section titled “Headers ”Directives for caching mechanisms
Entity tag for cache validation
Cache control directives for surrogate caching
Precondition failed for conditional request headers (If-Match, If-Unmodified-Since)
Headers
Section titled “Headers ”Directives for caching mechanisms
Entity tag for cache validation
Cache control directives for surrogate caching
default
Section titled “default ”Error occurred
Headers
Section titled “Headers ”Error message details