File is a datatype for a file upload to LogScale for use with the match() query function. You can see them under the Files page in the UI.

This datatype is used by the addFileLabels() and removeFileLabels() mutation fields.

Table: File

ParameterTypeRequiredDefaultStabilityAvailabilityDescription
Some input parameters may be required, as indicated in the Required column. For return values, this indicates that you are assured a value if the field is requested for the results. 
Table last updated: Oct 14, 2026 
allowedActionsAssetActionyes Short-Term The allowed asset actions. See AssetAction . This is a preview and may be changed.
contentHashStringyes Long-Term A content hash.
createdAtDateTimeyes Long-Term The date on which the file was created.
createdByStringyes Long-Term The author of the file.
fileSizeBytesLong  Long-Term The file size in bytes.
labelsStringyes Short-Term The labels associated with this file.
modifiedAtDateTimeyes Long-Term The date and time the file was last modified.
modifiedByStringyes Long-Term The user who last modified the file.
nameAndPathFileNameAndPathyes Long-Term The name and path of the file. See FileNameAndPath.
packagePackageInstallation  Long-Term The package, if any, associated with the file. See PackageInstallation.
packageIdVersionedPackageSpecifier  Long-Term The package identifier. VersionedPackageSpecifier is a scalar.
resourceStringyes Short-Term The resource identifier for the file.