Skip to main content

File

Represents an immutable file entity that provides basic metadata such as file size and extension.

type File {
extension: String
size: Float!
hash: String!
}

Fields

File.extension ● String scalar

The file extension (e.g., pdf, docx, xlsx).

File.size ● Float! non-null scalar

The size of the file in bytes.

File.hash ● String! non-null scalar

A hash that changes whenever this file changes (e.g. a new version of the document is uploaded). This is NOT a hash of the file's content — treat it as an opaque value, only useful for comparing against a previously fetched value.

Member Of

DataRoomDocument object