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.

Table: File

ParameterTypeRequiredDefaultStabilityDescription
Some arguments may be required, as indicated in the Required column. For some fields, this column indicates that a result will always be returned for this column.
Table last updated: Mar 26, 2025
allowedActions[AssetAction]yes PreviewThe allowed asset actions. See AssetAction. This is a preview and may be changed.
contentHashstringyes Long-TermA content hash.
createdAtdatetimeyes Long-TermThe date on which the file was created.
createdBystringyes Long-TermThe author of the file.
fileSizeByteslongyes Long-TermThe file size in bytes.
modifiedatdatetimeyes Long-TermThe date and time the file was last modified.
ModifiedBystringyes Long-TermThe user who last modified the file.
nameAndPathFileNameAndPathyes Long-TermThe name and path of the file. See FileNameAndPath.
packagePackageInstallation  Long-TermThe package, if any, associated with the file. See PackageInstallation.
packageIdVersionedPackageSpecifier  Long-TermThe package identifier. VersionedPackageSpecifier is a scalar.
resourcestringyes Long-TermThe resource identifier for the file.