Every non-page file in your space (images, PDFs, attachments, etc.) is available via the document tag, they’re indexed purely from filesystem metadata.

The document tag exposes the following attributes:

AttributeDescription
nameFull path of the document (also used as ref)
contentTypeMIME type of the document
sizeFile size in bytes
extensionFile extension (without the leading dot)
createdCreation timestamp (string)
lastModifiedLast-modified timestamp (string)
permro or rw

Example query:

${queryfrom index.documents() limit 3}